[Date Prev][Date Next]
Re: ldap backend
Stephan Duehr wrote:
I'm trying to use the ldap backend with the following scenario:
one slapd instance which already works properly using syncrepl is
listening on localhost port 10389.
A second slapd instance using the ldap backend using this config:
# moduleload back_meta.la
# moduleload back_monitor.la
# moduleload back_perl.la
suffix "o=My Test,c=de"
binddn "cn=replica,o=My Test,c=de"
The problem is that i get the following error message:
Dec 7 16:09:48 server1 slapd: /etc/openldap/slapd-ldap.conf: line
11: suffix DN is invalid
Dec 7 16:09:48 server1 slapd: slapd shutdown: freeing system
Dec 7 16:09:48 server1 slapd: slapd stopped.
I also tried suffixes without spaces, doesn't matter.
How can I find out what's wrong here?
From the line number in the error message, it appears that the above is
your entire slapd.conf, not just a portion of it. Did you load the
schema files containing the definitions of "o" and "c"? You will need
as much schema as you can (e.g. the same as of the remote host)
otherwise the unknown attributeTypes and objectClasses will be (more or
less silently) dropped by the ldap backend.
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497
- ldap backend
- From: "Stephan Duehr" <firstname.lastname@example.org>