Lines Matching refs:ldc
32 plugin_config_ldap *ldc; member
97 pconf->ldc = cpv->v.v; in mod_authn_ldap_merge_config_cpv()
230 plugin_config_ldap *ldc = NULL; in SETDEFAULTS_FUNC() local
241 ldc = ck_calloc(1, sizeof(plugin_config_ldap)); in SETDEFAULTS_FUNC()
242 ldc->errh = srv->errh; in SETDEFAULTS_FUNC()
243 ldc->auth_ldap_hostname = b->ptr; in SETDEFAULTS_FUNC()
244 cpv->v.v = ldc; in SETDEFAULTS_FUNC()
314 if (ldc) { in SETDEFAULTS_FUNC()
315 ldc->auth_ldap_binddn = binddn; in SETDEFAULTS_FUNC()
316 ldc->auth_ldap_bindpw = bindpw; in SETDEFAULTS_FUNC()
317 ldc->auth_ldap_cafile = cafile; in SETDEFAULTS_FUNC()
318 ldc->auth_ldap_starttls = starttls; in SETDEFAULTS_FUNC()
319 ldc->auth_ldap_timeout.tv_sec = timeout / 1000000; in SETDEFAULTS_FUNC()
320 ldc->auth_ldap_timeout.tv_usec = timeout % 1000000; in SETDEFAULTS_FUNC()
694 plugin_config_ldap * const ldc = s->ldc; in mod_authn_ldap_memberOf() local
697 LDAPMessage *lm = mod_authn_ldap_search(errh, ldc, base, filter->ptr); in mod_authn_ldap_memberOf()
699 int count = ldap_count_entries(ldc->ldap, lm); in mod_authn_ldap_memberOf()
752 dn = mod_authn_ldap_get_dn(errh, p->conf.ldc, in mod_authn_ldap_basic()
762 plugin_config_ldap * const ldc_base = p->conf.ldc; in mod_authn_ldap_basic()
765 if ( p->conf.ldc->auth_ldap_starttls != p->conf.auth_ldap_starttls in mod_authn_ldap_basic()
766 || p->conf.ldc->auth_ldap_binddn != p->conf.auth_ldap_binddn in mod_authn_ldap_basic()
767 || p->conf.ldc->auth_ldap_bindpw != p->conf.auth_ldap_bindpw in mod_authn_ldap_basic()
768 || p->conf.ldc->auth_ldap_cafile != p->conf.auth_ldap_cafile ) { in mod_authn_ldap_basic()
777 p->conf.ldc = &ldc_custom; in mod_authn_ldap_basic()
784 ld = mod_authn_ldap_host_init(errh, p->conf.ldc); in mod_authn_ldap_basic()
811 if (ldc_base != p->conf.ldc && NULL != p->conf.ldc->ldap) in mod_authn_ldap_basic()
812 ldap_unbind_ext_s(p->conf.ldc->ldap, NULL, NULL); in mod_authn_ldap_basic()