summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2002-04-02 03:24:56 +0000
committerKevin Steves <stevesk@pobox.com>2002-04-02 03:24:56 +0000
commit38c4a28a7e9911b9e3b38a6ad6c9db9cb57cc9f2 (patch)
treeb92f274f78f4c94d05465ab424447f247b185197
parentbd1901b7dc7ba80aae9aa3d6e6be3fb5e8aedb61 (diff)
- (stevesk) [auth1.c] fix password auth for protocol 1 when
!USE_PAM && !HAVE_OSF_SIA; merge issue.
-rw-r--r--ChangeLog4
-rw-r--r--auth1.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 733b9b06d..fda2d506b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
120020401 120020401
2 - (stevesk) [monitor.c] PAM should work again; will *not* work with 2 - (stevesk) [monitor.c] PAM should work again; will *not* work with
3 UsePrivilegeSeparation=yes. 3 UsePrivilegeSeparation=yes.
4 - (stevesk) [auth1.c] fix password auth for protocol 1 when
5 !USE_PAM && !HAVE_OSF_SIA; merge issue.
4 6
520020331 720020331
6 - (tim) [configure.ac] use /bin/test -L to work around broken builtin on 8 - (tim) [configure.ac] use /bin/test -L to work around broken builtin on
@@ -8102,4 +8104,4 @@
8102 - Wrote replacements for strlcpy and mkdtemp 8104 - Wrote replacements for strlcpy and mkdtemp
8103 - Released 1.0pre1 8105 - Released 1.0pre1
8104 8106
8105$Id: ChangeLog,v 1.2005 2002/04/01 18:04:35 stevesk Exp $ 8107$Id: ChangeLog,v 1.2006 2002/04/02 03:24:56 stevesk Exp $
diff --git a/auth1.c b/auth1.c
index 4f33fa878..89ae47df2 100644
--- a/auth1.c
+++ b/auth1.c
@@ -253,6 +253,7 @@ do_authloop(Authctxt *authctxt)
253 /* Do SIA auth with password */ 253 /* Do SIA auth with password */
254 authenticated = auth_sia_password(authctxt->user, 254 authenticated = auth_sia_password(authctxt->user,
255 password); 255 password);
256#else /* !USE_PAM && !HAVE_OSF_SIA */
256 /* Try authentication with the password. */ 257 /* Try authentication with the password. */
257 authenticated = PRIVSEP(auth_password(authctxt, password)); 258 authenticated = PRIVSEP(auth_password(authctxt, password));
258#endif /* USE_PAM */ 259#endif /* USE_PAM */