[Date Prev][Date Next]
Problem when using ldap_rename_s (ITS#1184)
Full_Name: Grahame Bowland
OS: Debian GNU/Linux
Submission from: (NULL) (220.127.116.11)
If I have an entry in my LDAP directory with a distinguished name:
cn=Grahame Bowland + email@example.com, 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.