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

Compare on DNs is sometimes incorrect (ITS#282)

Full_Name: Dave Carrigan
Version: 1.2.6
OS: Linux
Submission from: (NULL) (

Assume the following groupOfUniqueNames:

 dn: cn=The Group, o=Airius.com
 objectclass: top
 objectclass: groupOfUniqueNames
 cn: The Group
 uniqueMember: uid= carter, o=Airius.com

Now, assume I call

  ldap_compare_s(ldap, "cn=The Group, o=Airius.com", 
                       "uniquemember", "uid=carter, o=Airius.com") 

This returns LDAP_COMPARE_FALSE. It should return LDAP_COMPARE_TRUE, because in

LDAPv2, the DNs "uid=carter, o=Airius.com" and "uid= carter, o=Airius.com" are