diff options
| author | Tony Finch <fanf@FreeBSD.org> | 2002-07-29 00:36:24 +0000 |
|---|---|---|
| committer | Tony Finch <fanf@FreeBSD.org> | 2002-07-29 00:36:24 +0000 |
| commit | f38aa77fc833124d4c32aa0fd74d850c535ed4e4 (patch) | |
| tree | db49903f53d83a232c25ec286665fc73956e46c1 /crypto/openssh/auth.c | |
| parent | b3d86d9ca2813931c1715d548aeaf5f09d6beb5d (diff) | |
Notes
Diffstat (limited to 'crypto/openssh/auth.c')
| -rw-r--r-- | crypto/openssh/auth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/openssh/auth.c b/crypto/openssh/auth.c index 066b50d6ba1d..c90865f78079 100644 --- a/crypto/openssh/auth.c +++ b/crypto/openssh/auth.c @@ -24,6 +24,7 @@ #include "includes.h" RCSID("$OpenBSD: auth.c,v 1.43 2002/05/17 14:27:55 millert Exp $"); +RCSID("$FreeBSD$"); #ifdef HAVE_LOGIN_H #include <login.h> @@ -479,7 +480,7 @@ getpwnamallow(const char *user) if (pw == NULL || !allowed_user(pw)) return (NULL); #ifdef HAVE_LOGIN_CAP - if ((lc = login_getclass(pw->pw_class)) == NULL) { + if ((lc = login_getpwclass(pw)) == NULL) { debug("unable to get login class: %s", user); return (NULL); } |
