strange ldap bind to a Sun DIrectory Server 5.2
| From: | Nicolas Guilmain | Date: | Wed, 28 Sep 2005 13:40:16 +0000 |
| Subject: | strange ldap bind to a Sun DIrectory Server 5.2 | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-40395@lists.php.net to get a copy of this message | ||
Hello,
One of my php script works no more after an upgrade to a 5.2 Directory Server.
In fact everthing is ok but the ldap_modify function. This function returns :
Warning: ldap_modify(): Modify: Insufficient access
My local ldap admin has sent me the log for the transaction :
[27/Sep/2005:14:23:09 +0200] conn=4413 op=0 msgId=4 - BIND dn="" method=128 version=2
The bind which is Ok (the script can reach specific attributes in the ldap_get_entries function)
turns into an anonymous bind on the ldap server !
In console mode the account used for the bind performs the modification without any difficulties.
I've tried the directive : ldap_set_option($ldap_connection, LDAP_OPT_PROTOCOL_VERSION, 3);
but it makes no change...
php-cli-4.3.10-7.2.102mdk
libphp_common432-4.3.10-7.2.102mdk
php-ldap-4.3.10-6mdk
Any idea ?
Thanks.
Nicolas Guilmain
Orléans
France