Re: Using TLS connecting to a AD server. openldap2.4.42

2017-09-10 Thread Quanah Gibson-Mount
--On Sunday, September 10, 2017 2:25 PM +0200 Michael Ströder wrote: I thought you have to set LDAP_OPT_X_TLS_NEWCTX to 0 *after* setting all TLS-related options to let libldap reinitialize the client's SSL context. Doesn't that work as expected? Well, my point was, he's doing: ldap_set_optio

Invalid credentials problem

2017-09-10 Thread JC
I have just installed the OpenLDAP server, version 2.4.42, in my Linux. I have done some basic configuration for a fictitious domain owns4.com. My slapd.conf has the following contents: include         /etc/openldap/schema/core.schemainclude         /etc/openldap/schema/cosine.schemainclude    

Re: Using TLS connecting to a AD server. openldap2.4.42

2017-09-10 Thread Michael Ströder
Quanah Gibson-Mount wrote: --On Friday, September 08, 2017 6:48 PM + Don jessup wrote: int reqcert = LDAP_OPT_X_TLS_NEVER; ldap_set_option (ld, LDAP_OPT_X_TLS_REQUIRE_CERT, &reqcert); Is there way to make this work programmatically without using the ldap.conf? Yes. The problem is the