Displaying 7 results from an estimated 7 matches for "auth_request_log_debug".
2007 Mar 14
1
userdb-vpopmail.c bug in rc27
Hi!
I discovered a bug in $subject. Next line caused a compilation error:
auth_request_log_debug(auth_request, "vpopmail",
"lookup user=%s domain=%s",
vpop_user, vpop_domain);
I think, te correct version is:
auth_request_log_debug(request, "vpopmail",
"lookup user=%s domain=%s",...
2009 Jul 22
2
PAM_USER falsely assumed immutable
..._item(pamh, PAM_USER, &item);
passdb-pam.c:237 auth_request_set_field(request, "user", item, NULL);
so "item" is PAM_USER, which is then checked by auth_request_set_field:
1022 if (strcmp(request->user, value) != 0) {
1023 auth_request_log_debug(request, "auth",
1024 "username changed %s -> %s",
1025 request->user, value);
that it hasn't changed.
You're not allowed to assume that PAM_USER doesn't change. See, for
example, http://www.ker...
2007 Mar 22
3
--with-vpopmail compile errors
Hi,
I'm building dovecot.src.rpm with vpopmail support and I get this error:
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib
-I../../src/lib-sql -I../../src/lib-settings -I../../src/lib-ntlm
-DAUTH_MODULE_DIR=\""/usr/lib/dovecot/auth"\"
-DPKG_LIBEXECDIR=\""/usr/libexec/dovecot"\" -I/home/vpopmail/include
-std=gnu99 -O2 -g -march=i686 -Wall
2005 Mar 30
2
test65 killed by SIGSEV
...th process is killed by a SIGSEV as reported in the error log file :
dovecot: Mar 30 17:06:59 Error: child 28291 (auth) killed with signal 11
To be precise, the problem occurs in the
"ldap_lookup_pass" function (auth/passdb-ldap.c)
just before loging the ldap request parameters
(auth_request_log_debug) and to actually perform the search
(db_ldap_search). The signal occurs on the call of
t_strarray_join(attr_names, ",")
What I'm observing is that the "attr_names" array of the
"passdb_ldap_conn" ldap connection doesn't seem to hold the right
attributes : whil...
2016 Jul 09
4
passdb {driver = shadow args = override_username=%variable}
...pand()
call, which, looking at the code, appears to be the function
responsible for %variable expansion and formatting.
The relevant piece of code seems to be this excerpt in auth/passdb-shadow.c:
static enum passdb_result
shadow_lookup(struct auth_request *request, struct spwd **spw_r)
{
auth_request_log_debug(request, AUTH_SUBSYS_DB, "lookup");
*spw_r = getspnam(request->user);
if (*spw_r == NULL) {
auth_request_log_unknown_user(request, AUTH_SUBSYS_DB);
return PASSDB_RESULT_USER_UNKNOWN;
}
when request->user contains 'user at...
2009 May 17
2
Problem with domain part in user_query in dovecot 1.1.14
...riginal username for cache */
if (request->original_username == NULL) {
request->original_username =
p_strdup(request->pool, request->user);
}
auth_request_log_debug(request, "auth",
"username changed %s -> %s",
request->user, value);
request->user = p_strdup(request->pool, value);
}
I know that it is not so good, but it is w...
2011 Aug 29
4
Kerberos GSSAPI - proper item name in keytab
...in_service_credentials(struct auth_request *request, gss_cred_id_t
*ret_r)
/* blah-blah-blah */
principal_name = t_str_new(128);
str_append(principal_name, service_name);
str_append_c(principal_name, '@');
str_append(principal_name, request->set->gssapi_hostname);
auth_request_log_debug(request, "gssapi",
"Obtaining credentials for %s", str_c(principal_name));
inbuf.length = str_len(principal_name);
inbuf.value = str_c_modifiable(principal_name);
major_status = gss_import_name(&minor_status, &inbuf,
GSS_C_NT_...