Displaying 2 results from an estimated 2 matches for "auth_request_log_unknown_user".
2016 Jul 09
4
passdb {driver = shadow args = override_username=%variable}
...his 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 domain.tld', I want the code to be
able to process "override_username", determine that the format is %Ln
so that request->user is lowercased, and ever...
2013 Oct 24
1
Problems with userdb lookup
...4294967295) at strfuncs.c:236
No locals.
#8 0x08057003 in auth_request_append_password (str=str at entry=0x97e68a8,
request=0x97f8da8, request=0x97f8da8) at auth-request.c:1799
p = <optimized out>
log_type = <optimized out>
max_len = 4294967295
#9 0x08058cf2 in auth_request_log_unknown_user
(request=request at entry=0x97f8da8, subsystem=subsystem at entry=0x807a0cc
"passwd-file") at auth-request.c:1846
str = 0x97e68a8
#10 0x0806268c in db_passwd_file_lookup (db=0x97f4430,
request=request at entry=0x97f8da8, username_format=0x97ef148 "%Lu") at
db-passwd-file...