BsD JuNkiE wrote:
How do you enable protocol v2 support in openldap 2.1.x? I am trying to get a php / ldap script (phpQLADMIN) to work and unfortunately php only supports ldapV2 so i am getting unable to bind to ldap server: protocol error. I found in the documentation the difference between the two protocols but not how to enable v2.By default, php-ldap(it is a rpm come with php) use protocol 2. You can set php to use protocol 3 by:
Thanks in advance and have a great day.
ldap_set_option($connectId, LDAP_OPT_PROTOCOL_VERSION, 3);
Ming