Menu

#2 Patch to make rename functionality work

open
nobody
5
2003-07-26
2003-07-26
No

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."

Discussion

  • Daniel Buchmann

    Daniel Buchmann - 2003-07-26

    patch file 20030727-1

     
  • Daniel Buchmann

    Daniel Buchmann - 2003-07-27

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.