summaryrefslogtreecommitdiff
path: root/auth.c
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2005-08-26 13:15:19 -0700
committerTim Rice <tim@multitalents.net>2005-08-26 13:15:19 -0700
commit2291c00ab2aef934391c23227645121719df4c4b (patch)
treee54919cbc0f3992c2b6988d36898b40f838360ba /auth.c
parent8cc2ad68cd886d5f55a40b46a8e4d60931217a33 (diff)
- (tim) [CREDITS LICENCE auth.c configure.ac defines.h includes.h session.c
openbsd-compat/Makefile.in openbsd-compat/openbsd-compat.h openbsd-compat/xcrypt.c] New files [openssh/openbsd-compat/port-uw.c openssh/openbsd-compat/port-uw.h] Support long passwords (> 8-char) on UnixWare 7 from Dhiraj Gulati and Ahsan Rashid. Cleanup and testing by tim@. Feedback and OK dtucker@
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/auth.c b/auth.c
index 82fe8f06b..d62d8ff22 100644
--- a/auth.c
+++ b/auth.c
@@ -97,7 +97,11 @@ allowed_user(struct passwd * pw)
97 /* grab passwd field for locked account check */ 97 /* grab passwd field for locked account check */
98#ifdef USE_SHADOW 98#ifdef USE_SHADOW
99 if (spw != NULL) 99 if (spw != NULL)
100#ifdef HAVE_LIBIAF
101 passwd = get_iaf_password(pw);
102#else
100 passwd = spw->sp_pwdp; 103 passwd = spw->sp_pwdp;
104#endif /* HAVE_LIBIAF */
101#else 105#else
102 passwd = pw->pw_passwd; 106 passwd = pw->pw_passwd;
103#endif 107#endif