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

(ITS#3562) Missing attributes with attribute mapping using rwm overlay



Full_Name: Sebastien Augereau
Version: 2.3.1Alpha
OS: Redhat AS 3
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (145.242.3.30)


Using openldap2.3_Alpha1 with ldap backend working as
proxy.

It seems like a bug makes us not able to query for mapped attributes
(with ldapsearch). When querying an object, all attributes are well
returned (including those mapped) by slapd :

$ ldapsearch -D cn=admin,ou=our,o=organization,c=fr -w proxy -h
openldap_server -b ou=personnes,ou=A,ou=our,o=organization,c=fr
"uid=Anderson"

# anderson, personnes, A, our, organization, fr
dn: uid=anderson,ou=personnes,ou=A,ou=our,o=organization,c=fr
objectClass: top
objectClass: person
...
objectClass: mailrecipient
objectClass: nsmessagingserveruser
objectClass: posixAccount
mail: anderson@organization.fr
sn: anderson
uid: Anderson
ou: 002wxxw                                     <-- Well mapped attribute
(good)



Now, when I query for a specific mapped attribute, nothing is returned :

$ ldapsearch -D cn=admin,ou=our,o=organization,c=fr -w proxy -h
openldap_server -b ou=personnes,ou=A,ou=our,o=organization,c=fr
uid=Anderson ou

# anderson, personnes, A, our, organization, fr
dn: uid=anderson,ou=personnes,ou=A,ou=our,o=organization,c=fr

# search result
search: 2
result: 0 Success
                                              <-- Nothing appears.
# numResponses: 2
# numEntries: 1


I figure this is a rwm overlay bug as same configuration works with Openldap
2.2.23.