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

Re: Subordinate Knowledge Information



"Raffaele Viola" <raffovi@gmail.com> writes:

> Hi all,
> I have two LDAP server 151.98.181.93 and .64. I inserted in the ldap.conf of the .93 server the
> following lines:
> dn: dc=RAFFO,dc=IT
> objectClass: referral
> objectClass: extensibleObject
> ref: ldap://151.98.181.64/dc=RAFFO,dc=IT

This are not valid slapd.conf parameters, in order to create a named
subordinate reference, you have to create an entry, see rfc 3296.

> because I want to subordinate the request dc=RAFFO,dc=IT to the .64 server where I've already
> created a database ...
> database    bdb
> suffix        "dc=RAFFO,dc=IT"
> checkpoint      1024    5
> cachesize       10000
> rootdn        "cn=Manager,dc=RAFFO,dc=IT"
> rootpw        secret
> directory    /var/lib/ldap
> index    objectClass    eq
> but if I try to connect to the .93 server using an ldap browser I get this error
> 02:26:57 PM: Failed to connect to ldap://151.98.181.93:389
> Root error: [LDAP: error code 49 - Invalid Credentials]

Instead of creating referrals, you probabely are better off with a
back-ldap database.

-Dieter

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