[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Bind error : requested protocol version not allowed



Le ven 16/05/2003 à 11:28, Ramprasad A Padmanabhan a écrit :
> Hello all,
>    I am just a newbie at ldap usage.
> I have installed ldap server ( ver 2.1.19 ) on my machine
> I have added some records using a perl script.
> 
> When I use php function ldap_bind()  I am not able to bin I get a 
> protocol error message

if you want to use LDAPv3 in php :

       $ds=ldap_connect($server);
       ldap_set_option($ds,LDAP_OPT_PROTOCOL_VERSION,3);
       ldap_bind($ds,$s_userdn,$s_userpw);

Francois