For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > September 2005 > strange ldap bind to a Sun DIrectory Server 5.2









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author strange ldap bind to a Sun DIrectory Server 5.2
Nicolas Guilmain

2005-09-28, 6:57 pm

Hello,

One of my php script works no more after an upgrade to a 5.2 Directory Serv=
er.
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=3D4413 op=3D0 msgId=3D4 - BIND dn=3D"" me=
thod=3D128 version=3D2

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 wit=
hout any difficulties.

I've tried the directive : ldap_set_option($ldap_connection, LDAP_OPT_PROTO=
COL_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=E9ans
France
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com