Attached is a quick fix to make the "Rename" button work
properly. Quote from the PHP documentation:
"This function is only available when using OpenLDAP
2.x.x OR Netscape Directory SDK x.x, and was added in
PHP 4.0.5."
<b>WARNING</b>: Do not use the first patch (20030727-1)
I've submitted! Use patch 200230727-2, or you may lose
entries that fails to be renamed!
It seems that ldap_rename() with the last parameter set to
TRUE, causes the old entry to be deleted even if the
rename doesn't succeed.
In patch 20030727-2 , the last parameter for the
ldap_rename() calls is set to FALSE, which fixes this
problem. Seems like the old entry disappears anyway.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
patch file 20030727-1
Logged In: YES
user_id=184577
<b>WARNING</b>: Do not use the first patch (20030727-1)
I've submitted! Use patch 200230727-2, or you may lose
entries that fails to be renamed!
It seems that ldap_rename() with the last parameter set to
TRUE, causes the old entry to be deleted even if the
rename doesn't succeed.
In patch 20030727-2 , the last parameter for the
ldap_rename() calls is set to FALSE, which fixes this
problem. Seems like the old entry disappears anyway.
Revised patch