note 46625 added to function.ldap-rename

From: Date: Mon, 18 Oct 2004 09:52:29 +0000
Subject: note 46625 added to function.ldap-rename
Groups: php.notes 
Request: Send a blank email to php-notes+get-78715@lists.php.net to get a copy of this message
If you are using Sun Directory Server 5.2, please note that you can't use ldap_rename to move an entry. According to Sun's own documentation: "[...] At this point in time, Directory Server does not support the ability to use the modify DN operation to move an entry from one location in the directory tree to another location." (http://docs.sun.com/source/817-6707/resultcodes.html) The problem is that php does not return any error and the operation seems to complete succesfully, except for the fact that nothing really happens. If you check the server logs, there will be an "error 53" entry (server is unwilling to perform). hope this saves someone's couple of hours nasty searching... ---- Manual Page -- http://www.php.net/manual/en/function.ldap-rename.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+46625 Delete -- http://master.php.net/manage/user-notes.php?action=delete+46625&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+46625&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+46625&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+46625&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+46625&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+46625&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+46625&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#78715) next »