<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=6736&amp;type=atom" />
	<updated>2011-03-21T14:29:39Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=6736</id>
		<entry>
			<title type="html"><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=159015#p159015" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[thexf]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9728</uri>
			</author>
			<updated>2011-03-21T14:29:39Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=159015#p159015</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=93438#p93438" />
			<content type="html"><![CDATA[<p>пакеты openldap-servers и openldap-servers-sql из репов.</p>]]></content>
			<author>
				<name><![CDATA[thexf]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9728</uri>
			</author>
			<updated>2010-09-19T14:55:58Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=93438#p93438</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=93435#p93435" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>thexf пишет:</cite><blockquote><p>WARNING: No dynamic config support for database sql.</p></blockquote></div><p>смотрите опции сборки рпм по поводу этого</p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2010-09-19T14:51:45Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=93435#p93435</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=93430#p93430" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[thexf]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9728</uri>
			</author>
			<updated>2010-09-19T14:36:16Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=93430#p93430</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=93394#p93394" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[XliN]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6412</uri>
			</author>
			<updated>2010-09-19T11:56:36Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=93394#p93394</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=93370#p93370" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[thexf]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9728</uri>
			</author>
			<updated>2010-09-19T09:24:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=93370#p93370</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=93368#p93368" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[thexf]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9728</uri>
			</author>
			<updated>2010-09-19T09:22:00Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=93368#p93368</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=93334#p93334" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[thexf]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9728</uri>
			</author>
			<updated>2010-09-19T07:22:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=93334#p93334</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=93330#p93330" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[thexf]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9728</uri>
			</author>
			<updated>2010-09-19T07:14:45Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=93330#p93330</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=93328#p93328" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[thexf]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9728</uri>
			</author>
			<updated>2010-09-19T07:02:59Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=93328#p93328</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=93294#p93294" />
			<content type="html"><![CDATA[<p>Рабочий, но пакет openldap-server-sql содержит загружаемый модуль, который ldap может использовать для чтения данных из базы...<br />сам ldap должен бвть собран, если не ошибаюсь, с --enable-sql... для этого проще всего собрать свой rpm-пакет</p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2010-09-18T20:27:43Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=93294#p93294</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=93290#p93290" />
			<content type="html"><![CDATA[<p>Т.е. rpm-пакет openldap&nbsp; с поддержкой sql из репов нерабочий?и с rpmforge тоже не подойдет? <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" /></p>]]></content>
			<author>
				<name><![CDATA[thexf]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9728</uri>
			</author>
			<updated>2010-09-18T20:09:32Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=93290#p93290</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=93287#p93287" />
			<content type="html"><![CDATA[<p>не проще пересобрать rpm-пакет openldap&nbsp; с поддержкой sql? проблем будет сильно меньше, чем из исходников собирать</p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2010-09-18T20:06:57Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=93287#p93287</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=93283#p93283" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[thexf]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9728</uri>
			</author>
			<updated>2010-09-18T20:00:20Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=93283#p93283</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 5.5 + OpenLDAP + PostgreSQL]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=93277#p93277" />
			<content type="html"><![CDATA[<p>Centos 5.5 .<br />Устанавливаю пакет openlda-server-sql , он тянет за собой openldap-server. Я так понимаю,что так и должно быть smile . Но когда в slapd.conf параметр database указать sql ,он ругается на неизвестный тип этого параметра.</p>]]></content>
			<author>
				<name><![CDATA[thexf]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9728</uri>
			</author>
			<updated>2010-09-18T19:52:19Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=93277#p93277</id>
		</entry>
</feed>
