note 113862 added to function.ldap-set-option
| From: | badbo_5834 at hotmail dot com | Date: | Tue, 10 Dec 2013 20:02:23 +0000 |
| Subject: | note 113862 added to function.ldap-set-option | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-197896@lists.php.net to get a copy of this message | ||
I have the following code, but you do not rename the cn, that may be?
$TheDN = "cn=Nombre,ou=Addressbook,dc=axia-ldap,dc=net";
$newRDN = "cn=bill";
$newParent = "ou=Addressbook,dc=axia-ldap,dc=net";
ldap_set_option($ds,LDAP_OPT_PROTOCOL_VERSION,3);
$result = ldap_rename($ds, $TheDN, $newRDN, $newParent, TRUE);
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/function.ldap-set-option.php
Edit -- https://master.php.net/note/edit/113862
Del: integrated -- https://master.php.net/note/delete/113862/integrated
Del: useless -- https://master.php.net/note/delete/113862/useless
Del: bad code -- https://master.php.net/note/delete/113862/bad+code
Del: spam -- https://master.php.net/note/delete/113862/spam
Del: non-english -- https://master.php.net/note/delete/113862/non-english
Del: in docs -- https://master.php.net/note/delete/113862/in+docs
Del: other reasons-- https://master.php.net/note/delete/113862
Reject -- https://master.php.net/note/reject/113862
Search -- https://master.php.net/manage/user-notes.php