Home
last modified time | relevance | path

Searched refs:ldap (Results 1 – 16 of 16) sorted by relevance

/mOS-networking-stack/samples/lighttpd-1.4.32/doc/outdated/
H A Dauthentication.txt124 ldap
127 the ldap backend is basically performing the following steps
132 3. auth against ldap server
148 # plain, htpasswd, ldap or htdigest
161 ## for ldap
162 # the $ in auth.backend.ldap.filter is replaced by the
164 auth.backend.ldap.hostname = "localhost"
165 auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
166 auth.backend.ldap.filter = "(uid=$)"
169 auth.backend.ldap.starttls = "enable"
[all …]
/mOS-networking-stack/samples/lighttpd-1.4.32/tests/
H A Dfastcgi-10.conf91 auth.backend.ldap.hostname = "localhost"
92 auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
93 auth.backend.ldap.filter = "(uid=$)"
H A Dfastcgi-responder.conf115 auth.backend.ldap.hostname = "localhost"
116 auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
117 auth.backend.ldap.filter = "(uid=$)"
H A Dfastcgi-auth.conf113 auth.backend.ldap.hostname = "localhost"
114 auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
115 auth.backend.ldap.filter = "(uid=$)"
H A Dfastcgi-13.conf108 auth.backend.ldap.hostname = "localhost"
109 auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
110 auth.backend.ldap.filter = "(uid=$)"
H A Dbug-12.conf114 auth.backend.ldap.hostname = "localhost"
115 auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
116 auth.backend.ldap.filter = "(uid=$)"
H A Dbug-06.conf112 auth.backend.ldap.hostname = "localhost"
113 auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
114 auth.backend.ldap.filter = "(uid=$)"
H A Dproxy.conf94 auth.backend.ldap.hostname = "localhost"
95 auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
96 auth.backend.ldap.filter = "(uid=$)"
/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dhttp_auth.c704 LDAP *ldap; in http_auth_basic_password_compare() local
756 if (p->anon_conf->ldap == NULL || in http_auth_basic_password_compare()
760 if (p->anon_conf->ldap == NULL || ret != LDAP_SERVER_DOWN || in http_auth_basic_password_compare()
766 if (p->anon_conf->ldap == NULL || in http_auth_basic_password_compare()
775 if (NULL == (first = ldap_first_entry(p->anon_conf->ldap, lm))) { in http_auth_basic_password_compare()
783 if (NULL == (dn = ldap_get_dn(p->anon_conf->ldap, first))) { in http_auth_basic_password_compare()
804 ldap_unbind_s(ldap); in http_auth_basic_password_compare()
813 ldap_unbind_s(ldap); in http_auth_basic_password_compare()
820 if (LDAP_SUCCESS != (ret = ldap_simple_bind_s(ldap, dn, pw))) { in http_auth_basic_password_compare()
823 ldap_unbind_s(ldap); in http_auth_basic_password_compare()
[all …]
H A Dmod_auth.c83 if (s->ldap) ldap_unbind_s(s->ldap); in FREE_FUNC()
376 s->ldap = NULL; in SETDEFAULTS_FUNC()
572 if (NULL != s->ldap) ldap_unbind_s(s->ldap); in auth_ldap_init()
574 if (NULL == (s->ldap = ldap_init(s->auth_ldap_hostname->ptr, LDAP_PORT))) { in auth_ldap_init()
581 if (LDAP_OPT_SUCCESS != (ret = ldap_set_option(s->ldap, LDAP_OPT_PROTOCOL_VERSION, &ret))) { in auth_ldap_init()
600 if (LDAP_OPT_SUCCESS != (ret = ldap_start_tls_s(s->ldap, NULL, NULL))) { in auth_ldap_init()
610 …if (LDAP_SUCCESS != (ret = ldap_simple_bind_s(s->ldap, s->auth_ldap_binddn->ptr, s->auth_ldap_bind… in auth_ldap_init()
616 if (LDAP_SUCCESS != (ret = ldap_simple_bind_s(s->ldap, NULL, NULL))) { in auth_ldap_init()
H A Dhttp_auth.h47 LDAP *ldap; member
/mOS-networking-stack/samples/lighttpd-1.4.32/
H A DSConstruct95 BoolOption('with_ldap', 'enable ldap auth support', 'no'))
191 if autoconf.CheckLibWithHeader('ldap', 'ldap.h', 'C'):
192 autoconf.env.Append(CPPFLAGS = [ '-DHAVE_LDAP_H', '-DHAVE_LIBLDAP' ], LIBLDAP = 'ldap')
H A Dconfigure.ac182 AC_ARG_WITH(ldap, AC_HELP_STRING([--with-ldap],[enable LDAP support]), optwith
186 AC_CHECK_LIB(ldap, ldap_bind, [
187 AC_CHECK_HEADERS([ldap.h],[
191 AC_DEFINE([LDAP_DEPRECATED], [1], [Using deprecated ldap api])
795 features="auth-ldap"
H A DNEWS254 * Now really fix mod auth ldap (#1066)
333 * fixed conditional patching of ldap filter (#1564)
342 * fix splitting of auth-ldap filter
343 * workaround ldap connection leak if a ldap connection failed (restarting ldap)
344 …* fix auth.backend.ldap.bind-dn/pw problems (only read from global context for temporary ldap reco…
476 * allow empty passwords with ldap (J�rg Sonnenberger) [1516]
608 * added auto-reconnect to ldap-server in mod_auth
610 * changed auth.ldap-cafile to be optional
1065 * added ldap backend to the auth
H A Dconfig.h.in105 /* Define to 1 if you have the <ldap.h> header file. */
394 /* Using deprecated ldap api */
H A Dconfigure14336 for ac_header in ldap.h
19444 features="auth-ldap"