Forums / General / About ldap...

About ldap...

Author Message

Franck T.

Wednesday 04 August 2004 8:26:23 am

Can someone show me an example of his ldap.ini file, please ?
I'm sure having configure it well but it doesn't work (using ez 3.4.1)
Thanks

I get this error:

ldap_bind():  Unable to bind to server: Protocol error in /usr/local/intranet/ezpublish/kernel/classes/datatypes/ezuser/ezldapuser.php on line 222

Franck T.

Thursday 05 August 2004 1:17:18 am

OK, it works now. In the ezldapuser.php file there was no configuration of the protocol version. So I added (after the ldap_connect line)

ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION,3) ;

If it can help.
Regards,