[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: intergrate ldap directories



Hi,

Please stay on the openldap-software mailinglist.

"Mark Coetser" <mark@thummb.com> writes:

>> > Thanks for the reply
>> >
[...]
> I really thank you for the help, I have changed my slapd.conf as follows,
>
> # database 1
>
> database        bdb
> suffix          "dc=des,dc=jhb,dc=domain,dc=co,dc=za"
> directory       "/var/lib/ldap/domain/jhb/des"
> index           objectClass eq
> lastmod         on
> subordinate
> # replogfile    /var/lib/ldap/replog
>
> # database 2
>
> database        bdb
> suffix          "dc=cor,dc=jhb,dc=domain,dc=co,dc=za"
> directory       "/var/lib/ldap/domain/jhb/cor"
> index           objectClass eq
> lastmod         on
> updatedn        "cn=admin,dc=cor,dc=jhb,dc=domain,dc=co,dc=za"
> subordinate
> # replogfile    /var/lib/ldap/replog

updatedn is not a valid configuration parameter for this database.

> # database 3
>
> database        bdb
> suffix          "dc=jhb,dc=domain,dc=co,dc=za"
> directory       "/var/lib/ldap/domain/jhb"
> index           objectClass eq
> lastmod         on
> # replogfile    /var/lib/ldap/replog
>
> This has the desired affect where slapcat now gives me the correct data, the
> only problem I have now is that when I setup libnss-ldap to use base
> dc=jhb,dc=protekon,dc=co,dc=za when I run getent passwd it only lists the
> users from database 1 dc=des,dc=jhb,dc=domain,dc=co,dc=za ?

You really should read the manuals and 
http://www.openldap.org/doc/admin22/

Run slapd in debugging mode and do some ldapsearch.

-Dieter

-- 
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6