note 18577 added to function.ldap-set-option

From: Date: Mon, 28 Jan 2002 15:00:28 +0000
Subject: note 18577 added to function.ldap-set-option
Groups: php.notes 
Request: Send a blank email to php-notes+get-25919@lists.php.net to get a copy of this message
To get this to work I had to set the LDAP version to 3 using ldap_set_option. Here is an example that might help: $TheDN = "cn=john smith,ou=users,dc=acme,dc=com"; $newRDN = "cn=bill brown"; $newParent = "ou=users,dc=acme,dc=com"; ldap_set_option($ds,LDAP_OPT_PROTOCOL_VERSION,3); @$result = ldap_rename($ds, $TheDN, $newRDN, $newParent, TRUE); -- http://www.php.net/manual/en/function.ldap-set-option.php http://master.php.net/manage/user-notes.php?action=edit+18577 http://master.php.net/manage/user-notes.php?action=delete+18577 http://master.php.net/manage/user-notes.php?action=reject+18577

« previous php.notes (#25919) next »