Q. on RDN with CES type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm working on this ticket 48848.  Fixing the ticket itself is easy (please see the proposed patch).

https://fedorahosted.org/389/ticket/48848
Ticket #48848 - modrdn deleteoldrdn can fail to find old attribute value, perhaps due to case folding
Fix proposal: https://fedorahosted.org/389/attachment/ticket/48848/0001-Ticket-48848-modrdn-deleteoldrdn-can-fail-to-find-ol.patch

But I'm afraid it might have revealed another tricky issue...

If a DN contains CES type RDN, is it ok to return the entry if a given basedn does not match the case?
Example:
Existing DN:
dn: labeledURI=testURI,ou=People,dc=example,dc=com
Please note that labeledURI is caseExactMatch type.

$ ldapsearch [...]  -b "labeleduri=testuri,ou=People,dc=example,dc=com" dn
dn: labeleduri=testURI,ou=People,dc=example,dc=com
Our dn normalization code does not care the type of rdn but just lower the case to normalize a dn.

I'm trying to check it with the openldap server, but somehow it is not happy on my Fedoras... :(  Although I continue trying to make it work, but if someone has the openldap server handy, could you please add the attached entry, run the command line and check if it returns the entry or not?
$ ldapsearch [...]  -b "labeleduri=testuri,ou=People,dc=example,dc=com" dn

Thanks!
--noriko
dn: labeleduri=testURI,ou=People,dc=example,dc=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: test uri
sn: uri
givenName: test
userPassword: testURI
--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/389-devel@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux