[Date Prev][Date Next]
Problem when using ldap_rename_s (ITS#1184)
Full_Name: Grahame Bowland
OS: Debian GNU/Linux
Submission from: (NULL) (188.8.131.52)
If I have an entry in my LDAP directory with a distinguished name:
cn=Grahame Bowland + firstname.lastname@example.org, ou=University Communications
Services, o=The University of Western Australia
And then call ldap_rename_s(thatdn, "cn=Grahame Bowland (deleted)", "ou=Deleted
Entries, o=The University of Western Australia", 1)
You get back an error "Modify: delete value failed."
However, parsing the RDN, passing 0 as the last argument to ldap_rename_s so
that it doesn't try to remove the attributes and then removing the attribute
values after the rename does work.