summaryrefslogtreecommitdiff
path: root/auth1.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth1.c')
-rw-r--r--auth1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth1.c b/auth1.c
index ee7aac482..405357ba0 100644
--- a/auth1.c
+++ b/auth1.c
@@ -267,9 +267,9 @@ do_authloop(Authctxt *authctxt)
267 /* Do SIA auth with password */ 267 /* Do SIA auth with password */
268 if (sia_validate_user(NULL, saved_argc, saved_argv, 268 if (sia_validate_user(NULL, saved_argc, saved_argv,
269 get_canonical_hostname(options.reverse_mapping_check), 269 get_canonical_hostname(options.reverse_mapping_check),
270 pw->pw_name, NULL, 0, NULL, password) == SIASUCCESS) { 270 authctxt->user?authctxt->user:"NOUSER", NULL,
271 0, NULL, password) == SIASUCCESS)
271 authenticated = 1; 272 authenticated = 1;
272 }
273#else /* !USE_PAM && !HAVE_OSF_SIA */ 273#else /* !USE_PAM && !HAVE_OSF_SIA */
274 /* Try authentication with the password. */ 274 /* Try authentication with the password. */
275 authenticated = auth_password(pw, password); 275 authenticated = auth_password(pw, password);