diff options
author | Tim Rice <tim@multitalents.net> | 2005-08-26 22:15:19 +0200 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2005-08-26 22:15:19 +0200 |
commit | 2291c00ab2aef934391c23227645121719df4c4b (patch) | |
tree | e54919cbc0f3992c2b6988d36898b40f838360ba /openbsd-compat/xcrypt.c | |
parent | - (tim) [defines.h] PATH_MAX bits for OpenServer OK dtucker@ (diff) | |
download | openssh-2291c00ab2aef934391c23227645121719df4c4b.tar.xz openssh-2291c00ab2aef934391c23227645121719df4c4b.zip |
- (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 'openbsd-compat/xcrypt.c')
-rw-r--r-- | openbsd-compat/xcrypt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd-compat/xcrypt.c b/openbsd-compat/xcrypt.c index c3cea3c86..453203270 100644 --- a/openbsd-compat/xcrypt.c +++ b/openbsd-compat/xcrypt.c @@ -91,7 +91,11 @@ shadow_pw(struct passwd *pw) struct spwd *spw = getspnam(pw->pw_name); if (spw != NULL) +#ifdef HAVE_LIBIAF + pw_password = get_iaf_password(pw); +#else pw_password = spw->sp_pwdp; +#endif /* HAVE_LIBIAF */ # endif # if defined(HAVE_GETPWANAM) && !defined(DISABLE_SHADOW) struct passwd_adjunct *spw; |