<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=6736</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=6736&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Centos 5.5 + OpenLDAP + PostgreSQL».]]></description>
		<lastBuildDate>Mon, 21 Mar 2011 14:29:39 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=159015#p159015</link>
			<description><![CDATA[<p>Решение:<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">$ yum install postgresql-* openldap-servers-sql openldap-clients<br />$ su - postgres<br />$ initdb -D /var/lib/pgsql/data<br />$ postmaster -D /var/lib/pgsql/data &amp;<br />$ exit</div><br />$ cat /etc/odbc.ini <br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[ODBC Data Sources]<br />PgSQL=PostgreSQL<br />[PgSQL]<br />Driver=/usr/lib/psqlodbc.so<br />Description=Connection to LDAP/Postgresql<br />Servername=localhost<br />Port=5432<br />Protocol=6.4<br />FetchBufferSiza=99<br />Username=test<br />Password=test<br />Database=pg_ldap<br />ReadOnly=no<br />Debug=1<br />CommLog=1<br />[ODBC]<br />InstallDir=/usr/lib/</div></p><p>$ cat /etc/odbcinst.ini <br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[PostgreSQL]<br />Description&nbsp; &nbsp; &nbsp;= ODBC for PostgreSQL<br />Driver&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = /usr/lib/psqlodbc.so<br />FileUsage&nbsp; &nbsp; &nbsp; &nbsp;= 1</div></p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">$ cd /usr/share/doc/openldap-servers-sql-2.3.43/rdbms_depend/pgsql<br />$ cp * /etc/openldap/&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #в одну из этих директорий<br />$ cp * /var/lib/pgsql/data&nbsp; &nbsp; &nbsp; &nbsp; #в какую еще не определил.</div></p><p>$ cat /etc/openldap/slapd.conf<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/etc/openldap/schema/core.schema<br />include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/etc/openldap/schema/cosine.schema<br />include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/etc/openldap/schema/inetorgperson.schema<br />include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/etc/openldap/schema/misc.schema<br />include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/etc/openldap/schema/nis.schema<br />include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/etc/openldap/schema/openldap.schema<br />include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/etc/openldap/schema/samba.schema<br />access to *<br />&nbsp; &nbsp; &nbsp; &nbsp; by self write<br />&nbsp; &nbsp; &nbsp; &nbsp; by * read<br />access to * by dn=&quot;cn=root,dc=example,dc=com&quot; write&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />pidfile&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/var/run/openldap/slapd.pid<br />argsfile&nbsp; &nbsp; &nbsp; &nbsp; /var/run/openldap/slapd.args<br />modulepath&nbsp; &nbsp; &nbsp; /usr/lib/openldap<br />moduleload&nbsp; &nbsp; &nbsp; back_sql.la&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />database&nbsp; &nbsp; &nbsp; &nbsp; sql<br />suffix&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;dc=example,dc=com&quot;<br />rootdn&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;cn=root,dc=example,dc=com&quot;<br />rootpw&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; secret<br />dbname&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PgSQL<br />dbuser&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; test<br />dbpasswd&nbsp; &nbsp; &nbsp; &nbsp; test<br />insentry_query&nbsp; &quot;insert into ldap_entries (id,dn,oc_map_id,parent,keyval) values ((select max(id)+1 from ldap_entries),?,?,?,?)&quot;<br />upper_func&nbsp; &nbsp; &nbsp; &quot;upper&quot;<br />strcast_func&nbsp; &nbsp; &quot;text&quot;<br />concat_pattern&nbsp; &quot;?||?&quot;<br />has_ldapinfo_dn_ru&nbsp; &nbsp; &nbsp; no&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />lastmod off<br /></div><br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">$ su - postgres<br />$ cd /var/lib/pgsql/data<br />$ createdb pg_ldap<br />$ createuser --no-createdb --no-createrole --no-adduser --password test</div><br />Указать пароль test<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">$ psql -d pg_ldap &lt; backsql_create.sql<br />$ psql -d pg_ldap &lt; testdb_create.sql<br />$ psql -d pg_ldap &lt; testdb_metadata.sql<br />$ psql -d pg_ldap &lt; testdb_data.sql<br />$ psql -d pg_ldap -c “GRANT ALL ON ldap_attr_mappings,ldap_entries,ldap_entry_objclasses,ldap_oc_mappings,referrals TO test;”<br />$ psql -d pg_ldap -c “GRANT ALL ON ldap_attr_mappings_id_seq,ldap_entries_id_seq,ldap_oc_mappings_id_seq,referrals_id_seq TO test;”<br />$ psql -d pg_ldap -c “GRANT ALL ON authors_docs,documents,institutes,persons,phones TO test;”<br />$ psql -d pg_ldap -c “GRANT ALL ON documents_id_seq,institutes_id_seq,persons_id_seq,phones_id_seq TO test;”<br />$ exit<br />$ /etc/init.d/ldap start<br />$ ldapsearch -x -h localhost -b &quot;dc=example,dc=com&quot; &quot;(objectClass=*)&quot;<br />$ echo ‘dn: cn=Test Entry,dc=example,dc=com<br />objectClass: inetOrgPerson<br />cn: Test Entry<br />sn: Entry<br />givenName: Test’&gt;1.ldif<br />$ ldapadd -x -h localhost -D “cn=root,dc=example,dc=com” -w secret -f 1.ldif</div></p>]]></description>
			<author><![CDATA[null@example.com (thexf)]]></author>
			<pubDate>Mon, 21 Mar 2011 14:29:39 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=159015#p159015</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=93438#p93438</link>
			<description><![CDATA[<p>пакеты openldap-servers и openldap-servers-sql из репов.</p>]]></description>
			<author><![CDATA[null@example.com (thexf)]]></author>
			<pubDate>Sun, 19 Sep 2010 14:55:58 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=93438#p93438</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=93435#p93435</link>
			<description><![CDATA[<div class="quotebox"><cite>thexf пишет:</cite><blockquote><p>WARNING: No dynamic config support for database sql.</p></blockquote></div><p>смотрите опции сборки рпм по поводу этого</p>]]></description>
			<author><![CDATA[null@example.com (Hrafn)]]></author>
			<pubDate>Sun, 19 Sep 2010 14:51:45 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=93435#p93435</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=93430#p93430</link>
			<description><![CDATA[<p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />su - postgres<br />cd /usr/share/doc/openldap-servers-sql/rdb.../pgsql/<br />psql pg_ldap&nbsp; &lt; backsql_create.sql<br /></div></p>]]></description>
			<author><![CDATA[null@example.com (thexf)]]></author>
			<pubDate>Sun, 19 Sep 2010 14:36:16 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=93430#p93430</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=93394#p93394</link>
			<description><![CDATA[<p>Я сейчас иду по твоим шагам и что то не пойму В хавтушке написано сделать<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">psql pg_ldap&nbsp; &lt; backsql_create.sql</div><br />Как ты это сделал? Просто сам долго бьюсь с openldap и пока глухо. А очень надо<br />Тестовая система у меня RHEL 5.5 Так что должно все быть одинаково</p>]]></description>
			<author><![CDATA[null@example.com (XliN)]]></author>
			<pubDate>Sun, 19 Sep 2010 11:56:36 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=93394#p93394</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=93370#p93370</link>
			<description><![CDATA[<p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[root@localhost ~]# slaptest -f /etc/openldap/slapd.conf<br />WARNING: No dynamic config support for database sql.<br />backend_startup_one: bi_db_open failed! (1)<br />slap_startup failed (test would succeed using the -u switch)</div></p>]]></description>
			<author><![CDATA[null@example.com (thexf)]]></author>
			<pubDate>Sun, 19 Sep 2010 09:24:53 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=93370#p93370</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=93368#p93368</link>
			<description><![CDATA[<p>Возникла новая проблема&nbsp; <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" /> <br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[root@localhost ~]# cat /etc/odbc.ini<br />[PgSQL]<br />Description&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= Example for OpenLDAP&#039;s back-sql<br />Driver&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = PostgreSQL<br />Trace&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= No<br />Database&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = pg_ldap<br />Servername&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = ldap.mydomain.com<br />UserName&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = test<br />Password&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = test<br />Port&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 5432<br />;Protocol&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 6.4<br />ReadOnly&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = No<br />RowVersioning&nbsp; &nbsp; &nbsp; &nbsp;= No<br />ShowSystemTables&nbsp; &nbsp; = No<br />ShowOidColumn&nbsp; &nbsp; &nbsp; &nbsp;= No<br />FakeOidIndex&nbsp; &nbsp; &nbsp; &nbsp; = No<br />[root@localhost ~]# cat /etc/odbcinst.ini <br /># Example driver definitinions<br />#<br />#</p><p># Included in the unixODBC package<br />[PostgreSQL]<br />Description&nbsp; &nbsp; &nbsp;= ODBC for PostgreSQL<br />Driver&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = /usr/lib/libodbcpsql.so<br />Setup&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= /usr/lib/libodbcpsqlS.so<br />FileUsage&nbsp; &nbsp; &nbsp; &nbsp;= 1</p><br /><p># Driver from the MyODBC package<br /># Setup from the unixODBC package<br />#[MySQL]<br />#Description&nbsp; &nbsp; = ODBC for MySQL<br />#Driver&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= /usr/lib/libmyodbc.so<br />#Setup&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = /usr/lib/libodbcmyS.so<br />#FileUsage&nbsp; &nbsp; &nbsp; = 1<br />[root@localhost ~]# cat /etc/openldap/slapd.conf<br /># $OpenLDAP: pkg/ldap/servers/slapd/back-sql/rdbms_depend/pgsql/slapd.conf,v 1.4.2.1 2005/01/20 18:04:03 kurt Exp $<br />#<br /># See slapd.conf(5) for details on configuration options.<br /># This file should NOT be world readable.<br />#<br />include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/etc/openldap/schema/core.schema<br />include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/etc/openldap/schema/cosine.schema<br />include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/etc/openldap/schema/inetorgperson.schema</p><p># Define global ACLs to disable default read access.<br />access to * by self write<br />access to * by * read<br />access to * by dn=&quot;cn=Manager,dc=mydomain,dc=com&quot; write<br /># Do not enable referrals until AFTER you have a working directory<br /># service AND an understanding of referrals.<br />#referral&nbsp; &nbsp; &nbsp; &nbsp;ldap://root.openldap.org</p><p>pidfile&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/usr/local/var/slapd.pid<br />argsfile&nbsp; &nbsp; &nbsp; &nbsp; /usr/local/var/slapd.args<br />modulepath&nbsp; &nbsp; &nbsp; /usr/lib/openldap<br />moduleload&nbsp; &nbsp; &nbsp; back_sql.la<br />#######################################################################<br /># sql database definitions<br />#######################################################################</p><p>database&nbsp; &nbsp; &nbsp; &nbsp; sql<br />suffix&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;dc=mydomain,dc=com&quot;<br />rootdn&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;cn=Manager,dc=mydomain,dc=com&quot;<br />rootpw&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; secret<br />dbname&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PgSQL<br />dbuser&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; test<br />dbpasswd&nbsp; &nbsp; &nbsp; &nbsp; test<br />insentry_stmt&nbsp; &nbsp;&quot;insert into ldap_entries (id,dn,oc_map_id,parent,keyval) values ((select max(id)+1 from ldap_entries),?,?,?,?)&quot;<br />upper_func&nbsp; &nbsp; &nbsp; &quot;upper&quot;<br />strcast_func&nbsp; &nbsp; &quot;text&quot;<br />concat_pattern&nbsp; &quot;?||?&quot;<br />has_ldapinfo_dn_ru&nbsp; &nbsp; &nbsp; no</p><p>lastmod off<br />[root@localhost ~]# service ldap start<br />Checking configuration files for slapd:&nbsp; WARNING: No dynamic config support for database sql.<br />backend_startup_one: bi_db_open failed! (1)<br />slap_startup failed (test would succeed using the -u switch)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[FAILED]<br />[root@localhost ~]# ldapsearch -d 1<br />ldap_create<br />ldap_pvt_sasl_getmech<br />ldap_search<br />put_filter: &quot;(objectclass=*)&quot;<br />put_filter: simple<br />put_simple_filter: &quot;objectclass=*&quot;<br />ldap_send_initial_request<br />ldap_new_connection 1 1 0<br />ldap_int_open_connection<br />ldap_connect_to_host: TCP ldap:389<br />ldap_new_socket: 3<br />ldap_prepare_socket: 3<br />ldap_connect_to_host: Trying 192.168.1.128:389<br />ldap_connect_timeout: fd: 3 tm: -1 async: 0<br />ldap_close_socket: 3<br />ldap_perror<br />ldap_sasl_interactive_bind_s: Can&#039;t contact LDAP server (-1)<br /></div></p>]]></description>
			<author><![CDATA[null@example.com (thexf)]]></author>
			<pubDate>Sun, 19 Sep 2010 09:22:00 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=93368#p93368</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=93334#p93334</link>
			<description><![CDATA[<p>Я - невнимательный лошара smile <br />Проблема решена.<br />Все пакеты беру из репов... но тепеь очень внимательно читаю конфиг,так как надо (оказывается!) указать параметры модулей.</p><p># Load dynamic backend modules:<br />modulepath&nbsp; &nbsp; &nbsp; /usr/lib/openldap</p><br /><p># modules available in openldap-servers-sql RPM package:<br />moduleload back_sql.la</p>]]></description>
			<author><![CDATA[null@example.com (thexf)]]></author>
			<pubDate>Sun, 19 Sep 2010 07:22:21 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=93334#p93334</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=93330#p93330</link>
			<description><![CDATA[<p>старая версия checkinstall было...openldap установился,но результат тотже.<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[root@localhost etc]# /usr/local/libexec/slapd start<br />[root@localhost etc]# ps -ef| grep slapd<br />root&nbsp; &nbsp; &nbsp;18777&nbsp; 4053&nbsp; 0 00:14 pts/1&nbsp; &nbsp; 00:00:00 grep slapd</p><p></div></p>]]></description>
			<author><![CDATA[null@example.com (thexf)]]></author>
			<pubDate>Sun, 19 Sep 2010 07:14:45 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=93330#p93330</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=93328#p93328</link>
			<description><![CDATA[<p>Собираю rpm&#039;ку вылезают ошибки...<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br /># ./configure --enable-sql --without-cyrus-sasl --disable-bdb --disable-hdb --with-odbc=auto<br /># make<br /># make depend<br /># checkinstall -R<br />[root@localhost ~]# rpm -i openldap-2.4.23-1.i386.rpm<br />&nbsp; &nbsp; &nbsp; &nbsp; file /usr/libexec/gcc/i386-redhat-linux/4.1.2 from install of openldap-2.4.23-1.i386 conflicts with file from package cpp-4.1.2-48.el5.i386<br />&nbsp; &nbsp; &nbsp; &nbsp; file /usr/lib/gcc/i386-redhat-linux/4.1.2 from install of openldap-2.4.23-1.i386 conflicts with file from package libstdc++-devel-4.1.2-48.el5.i386<br />&nbsp; &nbsp; &nbsp; &nbsp; file /usr/lib/gcc/i386-redhat-linux/4.1.2 from install of openldap-2.4.23-1.i386 conflicts with file from package gcc-4.1.2-48.el5.i386<br />&nbsp; &nbsp; &nbsp; &nbsp; file /usr/libexec/gcc/i386-redhat-linux/4.1.2 from install of openldap-2.4.23-1.i386 conflicts with file from package gcc-4.1.2-48.el5.i386<br />&nbsp; &nbsp; &nbsp; &nbsp; file /usr/lib/gcc/i386-redhat-linux/4.1.2 from install of openldap-2.4.23-1.i386 conflicts with file from package gcc-gfortran-4.1.2-48.el5.i386<br />&nbsp; &nbsp; &nbsp; &nbsp; file /usr/libexec/gcc/i386-redhat-linux/4.1.2 from install of openldap-2.4.23-1.i386 conflicts with file from package gcc-gfortran-4.1.2-48.el5.i386<br />&nbsp; &nbsp; &nbsp; &nbsp; file /sbin/ldconfig from install of openldap-2.4.23-1.i386 conflicts with file from package glibc-2.5-49.el5_5.4.i686</p><p></div></p>]]></description>
			<author><![CDATA[null@example.com (thexf)]]></author>
			<pubDate>Sun, 19 Sep 2010 07:02:59 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=93328#p93328</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=93294#p93294</link>
			<description><![CDATA[<p>Рабочий, но пакет openldap-server-sql содержит загружаемый модуль, который ldap может использовать для чтения данных из базы...<br />сам ldap должен бвть собран, если не ошибаюсь, с --enable-sql... для этого проще всего собрать свой rpm-пакет</p>]]></description>
			<author><![CDATA[null@example.com (Hrafn)]]></author>
			<pubDate>Sat, 18 Sep 2010 20:27:43 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=93294#p93294</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=93290#p93290</link>
			<description><![CDATA[<p>Т.е. rpm-пакет openldap&nbsp; с поддержкой sql из репов нерабочий?и с rpmforge тоже не подойдет? <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" /></p>]]></description>
			<author><![CDATA[null@example.com (thexf)]]></author>
			<pubDate>Sat, 18 Sep 2010 20:09:32 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=93290#p93290</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=93287#p93287</link>
			<description><![CDATA[<p>не проще пересобрать rpm-пакет openldap&nbsp; с поддержкой sql? проблем будет сильно меньше, чем из исходников собирать</p>]]></description>
			<author><![CDATA[null@example.com (Hrafn)]]></author>
			<pubDate>Sat, 18 Sep 2010 20:06:57 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=93287#p93287</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=93283#p93283</link>
			<description><![CDATA[<p>Вот что получается если openlda-server-sql поставить из репов.<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[root@localhost openldap-2.4.23]# /etc/init.d/ldap start<br />Checking configuration files for slapd:&nbsp; Unrecognized database type (sql)<br />/etc/openldap/slapd.conf: line 23: &lt;database&gt; failed init (sql)!<br />slaptest: bad configuration file!<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[FAILED]<br /></div></p>]]></description>
			<author><![CDATA[null@example.com (thexf)]]></author>
			<pubDate>Sat, 18 Sep 2010 20:00:20 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=93283#p93283</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=93277#p93277</link>
			<description><![CDATA[<p>Centos 5.5 .<br />Устанавливаю пакет openlda-server-sql , он тянет за собой openldap-server. Я так понимаю,что так и должно быть smile . Но когда в slapd.conf параметр database указать sql ,он ругается на неизвестный тип этого параметра.</p>]]></description>
			<author><![CDATA[null@example.com (thexf)]]></author>
			<pubDate>Sat, 18 Sep 2010 19:52:19 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=93277#p93277</guid>
		</item>
	</channel>
</rss>
