2015年11月11日 星期三

LDAP Connect

如果LDAP Bind出現下列錯誤
ldap_bind(): Unable to bind to server: Protocol error
只要在ldap_bind上面加入
ldap_set_option(LDAP_CONNECT, LDAP_OPT_PROTOCOL_VERSION, 3);
即可

沒有留言:

張貼留言