[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
back-sql: trasnlating examples from slapd.cong to slapd.d
Hi,
I'm trying to configure slapd with back-sql (specifically postgresql
backend). All documents I found (Postgresq LDAP Howto seems to be more
complete) are related to old configuration that use slapd.conf while I
need to use the news slapd.d dynamic one.
I can't understand how I should add the entry in the
configuration. What I currenty tried is:
dn: olcDatabase={1}sql,cn=config
objectClass: olcDatabaseConfig
objectClass: olcSqlConfig
olcSuffix: dc=vega,dc=com
olcDatabase: sql
olcDbName: mytest
But when I run ldapmify I get the error:
root@argo-jessie:~# ldapmodify -x -D cn=admin,cn=config -W -f ,ldapvi-argo-jessie-7228.ldif
Enter LDAP Password:
adding new entry "olcDatabase={1}sql,cn=config"
ldap_add: Other (e.g., implementation specific) error (80)
additional info: <olcSuffix> failed startup
And at 254 debugLevel I get:
Sep 23 16:34:18 localhost slapd[5650]: olcSuffix: value #0: <olcSuffix> failed startup (dc=vega,dc=com)!
Sep 23 16:34:18 localhost slapd[5650]: send_ldap_result: err=80 matched="" text="<olcSuffix> failed startup"
I'm making the test on Debian Jessie with slapd versione 2.4.40
sandro
*:-)
I opended a question on serverfault: http://serverfault.com/questions/724329/slapd-configuration-for-back-sql-how-to-traslate-examples-from-slapd-conf-to-sl
--
Sandro Dentella *:-)
http://www.reteisi.org Soluzioni libere per le scuole
http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy