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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to