Lines Matching refs:errh
26 log_error_st *errh; member
143 log_error(srv->errh, __FILE__, __LINE__, in mod_vhostdb_dbconf_setup()
177 static void mod_authn_ldap_err(log_error_st *errh, const char *file, unsigned long line, const char… in mod_authn_ldap_err() argument
179 log_error(errh, file, line, "ldap: %s: %s", fn, ldap_err2string(err)); in mod_authn_ldap_err()
183 static void mod_authn_ldap_opt_err(log_error_st *errh, const char *file, unsigned long line, const … in mod_authn_ldap_opt_err() argument
187 mod_authn_ldap_err(errh, file, line, fn, err); in mod_authn_ldap_opt_err()
253 static LDAP * mod_authn_ldap_host_init(log_error_st *errh, vhostdb_config *s) { in mod_authn_ldap_host_init() argument
259 log_perror(errh, __FILE__, __LINE__, "ldap: ldap_initialize()"); in mod_authn_ldap_host_init()
266 mod_authn_ldap_err(errh, __FILE__, __LINE__, "ldap_set_options()", ret); in mod_authn_ldap_host_init()
289 mod_authn_ldap_err(errh, __FILE__, __LINE__, in mod_authn_ldap_host_init()
298 mod_authn_ldap_err(errh,__FILE__,__LINE__,"ldap_start_tls_s()",ret); in mod_authn_ldap_host_init()
307 static int mod_authn_ldap_bind(log_error_st *errh, LDAP *ld, const char *dn, const char *pw) { in mod_authn_ldap_bind() argument
323 mod_authn_ldap_err(errh, __FILE__, __LINE__, "ldap_sasl_bind_s()", ret); in mod_authn_ldap_bind()
334 return mod_authn_ldap_bind(s->errh, ld, s->binddn, s->bindpw); in mod_authn_ldap_rebind_proc()
337 static LDAPMessage * mod_authn_ldap_search(log_error_st *errh, vhostdb_config *s, char *base, char … in mod_authn_ldap_search() argument
366 s->ldap = mod_authn_ldap_host_init(errh, s); in mod_authn_ldap_search()
372 ret = mod_authn_ldap_bind(errh, s->ldap, s->binddn, s->bindpw); in mod_authn_ldap_search()
382 log_error(errh, __FILE__, __LINE__, in mod_authn_ldap_search()
412 log_error_st * const errh = r->conf.errh; in mod_vhostdb_ldap_query() local
413 dbconf->errh = errh; in mod_vhostdb_ldap_query()
431 lm = mod_authn_ldap_search(errh, dbconf, basedn, filter->ptr); in mod_vhostdb_ldap_query()
441 log_error(errh, __FILE__, __LINE__, in mod_vhostdb_ldap_query()
454 mod_authn_ldap_opt_err(errh,__FILE__,__LINE__,"ldap_first_entry()",ld); in mod_vhostdb_ldap_query()
575 mod_authn_ldap_err(srv->errh, __FILE__, __LINE__, in SETDEFAULTS_FUNC()