PHP.nl

ldap_rename

ldap_rename

Modify the name of an entry

bool **ldap_rename** LDAP\Connection $ldap string $dn string $new_rdn string $new_parent bool $delete_old_rdn  $controls

The entry specified by is renamed/moved. dn

ldapldap.parameter.ldap

dnThe distinguished name of an LDAP entity.

new_rdnThe new RDN.

new_parentThe new parent/superior entry.

delete_old_rdnIf true the old RDN value(s) is removed, else the old RDN value(s) is retained as non-distinguished values of the entry.

controls Array of to send with the request. LDAP Controls

return.success

Opmerking: > This function currently only works with LDAPv3. You may have to use prior to binding to use LDAPv3. This function is only available when using OpenLDAP 2.x.x OR Netscape Directory SDK x.x. ldap_set_option

ldap_rename_ext``ldap_modify