Full_Name: Cheu KUOCH Version: 2.4.43 OS: WINDOWS 7 URL: Submission from: (NULL) (109.1.238.212)
Hi,
I am a new OpenLDAP 2.4.43 library user.
My application binds to a customer's LDAP Server and get attributs no problem, even with a wrong password.
Could you tell me how to make LDAP Server controls the password ?
Thank in advance.
Cheu KUOCH
==================================
Summary of my code:
ldap_initialize (&ldap, ldap_urls) ldap_set_option (ldap, LDAP_OPT_PROTOCOL_VERSION, &ldap_version) ldap_set_option (ldap, LDAP_OPT_SIZELIMIT, &size_limit) ldap_sasl_bind_s (ldap, bind_dnp, LDAP_SASL_SIMPLE, &cred, NULL, NULL, NULL) ldap_search_ext (...) for (msgcount = 0; ...) { ldap_result (...) ldap_first_attribute (...) while (...) { ldap_get_values_len (...) ldap_next_attribute (...) } } ldap_unbind_ext_s (...)