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

aliases and openLDAP



Hi, 

I try to implement alias LDAP, and I encounter any problems.

I created an LDAP entry like this one :
dn: cn=vmathieu,ou=tmp,dc=univ-nancy2,dc=fr
objectClass: top
objectClass: alias
objectclass: n2classmail
cn: vmathieu
aliasedObjectName: uid=vmathieu,ou=People,ou=Pers,dc=univ-nancy2,dc=fr

n2ClassMail give the cn attribute, the DN uid=vmathieu... exists.

I make tests with openLDAP V2.0.22 and V2.1.8

If I do :
ldapsearch -a never -H ldap://localhost:392 -s sub -b 'dc=univ-nancy2,dc=fr' -P 3 '(cn=vmathieu)'

The result is OK :

----------------------------------------------------------------------------------------------------------------------------
# extended LDIF
#
# LDAPv3
# filter: (cn=vmathieu)
# requesting: ALL
#
 
# vmathieu, tmp, univ-nancy2.fr
dn: cn=vmathieu,ou=tmp,dc=univ-nancy2,dc=fr
objectClass: top
objectClass: alias
objectClass: n2classmail
cn: vmathieu
aliasedObjectName: uid=vmathieu,ou=People,ou=Pers,dc=univ-nancy2,dc=fr 
--------------------------------------------------------------------------------------------------------------------------------

if I use -a always   (with deref), it results nothings.

It's the same think with other LDAP clients (BrowserLDAP, ...)

Who can help me?


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