version 1.46.2.1, 2003/09/16 20:50:42 |
version 1.46.2.2, 2004/03/04 18:18:15 |
|
|
return 1; |
return 1; |
} |
} |
|
|
Authctxt * |
|
authctxt_new(void) |
|
{ |
|
Authctxt *authctxt = xmalloc(sizeof(*authctxt)); |
|
memset(authctxt, 0, sizeof(*authctxt)); |
|
return authctxt; |
|
} |
|
|
|
void |
void |
auth_log(Authctxt *authctxt, int authenticated, char *method, char *info) |
auth_log(Authctxt *authctxt, int authenticated, char *method, char *info) |
{ |
{ |
|
|
memset(&fake, 0, sizeof(fake)); |
memset(&fake, 0, sizeof(fake)); |
fake.pw_name = "NOUSER"; |
fake.pw_name = "NOUSER"; |
fake.pw_passwd = |
fake.pw_passwd = |
"$2a$06$r3.juUaHZDlIbQaO2dS9FuYxL1W9M81R1Tc92PoSNmzvpEqLkLGrK"; |
"$2a$06$r3.juUaHZDlIbQaO2dS9FuYxL1W9M81R1Tc92PoSNmzvpEqLkLGrK"; |
fake.pw_gecos = "NOUSER"; |
fake.pw_gecos = "NOUSER"; |
fake.pw_uid = -1; |
fake.pw_uid = -1; |
fake.pw_gid = -1; |
fake.pw_gid = -1; |