version 1.58, 2004/07/21 10:33:31 |
version 1.59, 2004/07/28 09:40:29 |
|
|
int type = 0; |
int type = 0; |
|
|
debug("Attempting authentication for %s%.100s.", |
debug("Attempting authentication for %s%.100s.", |
authctxt->valid ? "" : "illegal user ", authctxt->user); |
authctxt->valid ? "" : "invalid user ", authctxt->user); |
|
|
/* If the user has no password, accept authentication immediately. */ |
/* If the user has no password, accept authentication immediately. */ |
if (options.password_authentication && |
if (options.password_authentication && |
|
|
if ((authctxt->pw = PRIVSEP(getpwnamallow(user))) != NULL) |
if ((authctxt->pw = PRIVSEP(getpwnamallow(user))) != NULL) |
authctxt->valid = 1; |
authctxt->valid = 1; |
else { |
else { |
debug("do_authentication: illegal user %s", user); |
debug("do_authentication: invalid user %s", user); |
authctxt->pw = fakepw(); |
authctxt->pw = fakepw(); |
} |
} |
|
|