note 82393 added to function.ldap-rename
| From: | PeterKehl at osu1 dot php dot net | Date: | Wed, 09 Apr 2008 09:51:04 +0000 |
| Subject: | note 82393 added to function.ldap-rename | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138048@lists.php.net to get a copy of this message | ||
Here's some clarification about the parameters when renaming a container in Novell eDirectory:
- $new_rdn is in format "ou=new container name"
- newparent parameter is NULL - because we're renaming and not moving
- deleteoldrdn parameter if TRUE then old value of OU attribute is stored as a secondary/further
value of LDAP OU attribute. Novell ConsoleOne shows it as 'Other Name' attribute.
$full_old_dn= "ou=Cuckoo,ou=London,ou=UK,ou=Europe,o=Happy";
$new_rdn= "ou=Cuckoo Group";
ldap_rename( $conn, $full_old_dn, $new_rdn, NULL, TRUE);
----
Server IP: 92.48.74.199
Probable Submitter: 80.169.172.66
----
Manual Page -- http://www.php.net/manual/en/function.ldap-rename.php
Edit -- https://master.php.net/note/edit/82393
Del: integrated -- https://master.php.net/note/delete/82393/integrated
Del: useless -- https://master.php.net/note/delete/82393/useless
Del: bad code -- https://master.php.net/note/delete/82393/bad+code
Del: spam -- https://master.php.net/note/delete/82393/spam
Del: non-english -- https://master.php.net/note/delete/82393/non-english
Del: in docs -- https://master.php.net/note/delete/82393/in+docs
Del: other reasons-- https://master.php.net/note/delete/82393
Reject -- https://master.php.net/note/reject/82393
Search -- https://master.php.net/manage/user-notes.php