diff options
Diffstat (limited to 'auth1.c')
-rw-r--r-- | auth1.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ | |||
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include "includes.h" | 6 | #include "includes.h" |
7 | RCSID("$OpenBSD: auth1.c,v 1.2 2000/04/29 18:11:52 markus Exp $"); | 7 | RCSID("$OpenBSD: auth1.c,v 1.3 2000/08/20 18:42:40 millert Exp $"); |
8 | 8 | ||
9 | #include "xmalloc.h" | 9 | #include "xmalloc.h" |
10 | #include "rsa.h" | 10 | #include "rsa.h" |
@@ -480,6 +480,9 @@ do_authentication() | |||
480 | pwcopy.pw_passwd = xstrdup(pw->pw_passwd); | 480 | pwcopy.pw_passwd = xstrdup(pw->pw_passwd); |
481 | pwcopy.pw_uid = pw->pw_uid; | 481 | pwcopy.pw_uid = pw->pw_uid; |
482 | pwcopy.pw_gid = pw->pw_gid; | 482 | pwcopy.pw_gid = pw->pw_gid; |
483 | #ifdef HAVE_PW_CLASS_IN_PASSWD | ||
484 | pwcopy.pw_class = xstrdup(pw->pw_class); | ||
485 | #endif | ||
483 | pwcopy.pw_dir = xstrdup(pw->pw_dir); | 486 | pwcopy.pw_dir = xstrdup(pw->pw_dir); |
484 | pwcopy.pw_shell = xstrdup(pw->pw_shell); | 487 | pwcopy.pw_shell = xstrdup(pw->pw_shell); |
485 | pw = &pwcopy; | 488 | pw = &pwcopy; |