Summary: DN Rename with case change only fails https://bugzilla.redhat.com/show_bug.cgi?id=428232 Description of problem: modrdn treated DN case insensitive. If the new dn and the old dn were identical except the case difference, the code stopped there and returned LDAP_ALREADY_EXISTS. Thus, users had no way to change the case in the DN. ------- Additional Comments From nhosoi@xxxxxxxxxx 2008-07-29 10:59 EST ------- Created an attachment (id=312887) --> (https://bugzilla.redhat.com/attachment.cgi?id=312887&action=view)cvs diffs
Files: slapi-plugin.h dn.c back-ldbm/ldbm_modrdn.c Description: added additional checks if the original DN and the to-be-updated DN are different in terms of the cases. If the cases do not match, instead of returning LDAP_ALREADY_EXISTS, continue the modrdn process. ------- Additional Comments From nhosoi@xxxxxxxxxx 2008-07-29 11:02 EST ------- Created an attachment (id=312890) --> (https://bugzilla.redhat.com/attachment.cgi?id=312890&action=view) modrdn test program modrdn.cHow to verify: 1. Replace the modrdn.c in the mozilla ldap client's examples and compile it.
2. Prepare a suffix "dc=example,dc=com" on the test server. 3. run the program $ ./modrdn <port> <directory_manager_password> Added entry "cn=Jacques Smith, dc=example,dc=com". Calling modrdn: "cn=Jacques Smith, dc=example,dc=com" => "cn=Jacques SMITH" The modrdn operation was successful. Entry "cn=Jacques Smith, dc=example,dc=com" has been changed to "cn=Jacques SMITH, dc=example,dc=com".
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-- Fedora-directory-devel mailing list Fedora-directory-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-devel