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...
-- Sandro Dentella *:-) http://www.reteisi.org Soluzioni libere per le scuole http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy
--On Thursday, September 24, 2015 2:11 AM +0200 Alessandro Dentella sandro@e-den.it wrote:
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.
Generally it is ill advised to use back-sql, as it is experimental and unmaintained, as noted in the man page. Unless you have a very good reason for using it, I'd advise against it.
--Quanah
--
Quanah Gibson-Mount Platform Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org