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

openldap V2.1.n and referral



Hi,


I have 2 servers LDAP (openldap) in my university: one for the personnel, one for the students. 

I have a third server openldap which implements the referal mechanism like this:

dn: dc=univ-nancy2,dc=fr
objectClass: top
objectClass: domain
dc: univ-nancy2
 
dn: ou=Etudiants,dc=univ-nancy2,dc=fr
ou: Etudiants
objectClass: referral
objectClass: extensibleObject
ref: ldap://ldap.etudiant.univ-nancy2.fr/ou=Etudiants,dc=univ-nancy2,dc=fr
 
dn: ou=Pers,dc=univ-nancy2,dc=fr
ou: Pers
objectClass: referral
objectClass: extensibleObject
ref: ldap://ldap.univ-nancy2.fr/ou=Pers,dc=univ-nancy2,dc=fr


The referal machanism work's perfectly if the third server is an openldap V2.0.x, but it doesn't work if the third server is an openldap V2.1.6

with ldapsearch :

ldapsearch -x -D  -H ldapr://ldap.univ-nancy2.fr -s sub -b dc=univ-nancy2,dc=fr -P 3 (uid=vmath999)

returns, vith openldapV2.0.25 :
ref: ldap://ldap2.etudiant.univ-nancy2.fr:392/ou=Etudiants,dc=univ-nancy2,dc=fr
ref: ldap://ldap2.univ-nancy2.fr:392/ou=Pers,dc=univ-nancy2,dc=fr
# search result
search: 2
result: 0 Success
# numResponses: 3
# numReferences: 2

and with openldap V2.1.6, return nthing :
# search result
search: 2
result: 0 Success 


And with 
ldapsearch -x -D  -C -H ldapr://ldap.univ-nancy2.fr -s sub -b dc=univ-nancy2,dc=fr -P 3 (uid=vmath999)

returns the entry with openldap V2.0.25, and nothing with V2.1.6

What to do now?

Thank's

Vincent


-- 
Vincent MATHIEU                 
CRI - Universite NANCY 2            | Email : Vincent.Mathieu@univ-nancy2.fr
Pole Lorrain de Gestion             | Tel   : (33) 03.83.39.64.06
13, Rue Michel Ney - C.O. 75        | Fax   : (33) 03.83.39.64.43
54013 Nancy Cedex.   FRANCE