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

2017-09-09 Thread Quanah Gibson-Mount
--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 TLS options generally have

Re: pcache overlay, caching DNs

2017-09-09 Thread Howard Chu
Roel van Meer wrote: Hi list! I've been figuring out how to get the pcache overlay to work, but I'm stuck with one thing: caching of DNs. Take this example config: overlay pcache pcache bdb 1 2 500 100 directory /var/lib/ldap/cache pcacheAttrset 0 * pcacheAttrset 1 uid pcac