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
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]
Please help me, Thanks Raffo
"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
openldap-software@openldap.org