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

(ITS#4203) LDAP Proxy Cache: ldapsearch returns multiple attributes



Full_Name: Ashish Gawarikar
Version: 2.3.11
OS: LInux 2.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (63.211.143.38)


This problem only happens when "overlay pcache" is enabled, it works fine with
direct ldapsearch to master server. 

Although I only asks for return attribute "mailRoutingAddress", ldapsearch
returns second entry with all attributes. 

# bin/ldapsearch -h localhost -x "(mailLocalAddress=test1@example.com)"
mailRoutingAddress

# test1@example.com, People, example.com
dn: mailRoutingAddress=test1@example.com,ou=People,dc=example,dc=com
mailRoutingAddress: test1@example.com

# test11@example.com, People, example.com
dn: mailRoutingAddress=test11@example.com,ou=People,dc=example,dc=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: messageRecipient
objectClass: smiMessageRecipient
objectClass: messageStoreRecipient
objectClass: smiMessageStoreRecipient
mailRoutingAddress: test11@example.com
mailLocalAddress: test1@example.com

# search result
search: 2
result: 0 Success