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

Re: Fwd: Referrals



"Or Goshen" <oberonc@gmail.com> writes:

> Something isnt clear to me, on A I got the following slapd.conf:
>
> database        hdb
> suffix          "dc=example,dc=com"
>
> database ldap
> suffix   "dc=B,ou=Subs,dc=example,dc=com"
> uri      "ldap://B/";
> idassert-bind bindmethod=simple
>               binddn="dc=example,dc=com"
>               credentials=[password in clear text]
>               authzID="dn:cn=Manager,dc=example,dc=com"
>
> And on B I got the following setup:
>
> database        hdb
> suffix          "dc=example,dc=com"
>
> When I start slapd on A I get:
>
> /etc/openldap/slapd.conf: line 87: <suffix> namingContext "dc=B,ou=Subs,dc=
> example,dc=com" already served by a preceding hdb database serving
> namingContext "dc=example,dc=com".
[...]
As I mentioned in a previous mail, you have to glue the databases,
this is done by using the magic word subordinate.

database ldap
suffix dc=B,ou=Subs,dc=example,dc=com
...
subordinate

database hdb
suffix dc=example,dc=com


-Dieter

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