version 1.48, 2001/01/13 18:43:31 |
version 1.49, 2001/01/18 17:00:00 |
|
|
} |
} |
|
|
void |
void |
do_authenticated2(void) |
do_authenticated2(Authctxt *authctxt) |
{ |
{ |
struct passwd *pw; |
|
|
|
/* |
/* |
* Cancel the alarm we set to limit the time taken for |
* Cancel the alarm we set to limit the time taken for |
* authentication. |
* authentication. |
|
|
startup_pipe = -1; |
startup_pipe = -1; |
} |
} |
#ifdef HAVE_LOGIN_CAP |
#ifdef HAVE_LOGIN_CAP |
pw = auth_get_user(); |
if ((lc = login_getclass(authctxt->pw->pw_class)) == NULL) { |
if ((lc = login_getclass(pw->pw_class)) == NULL) { |
|
error("unable to get login class"); |
error("unable to get login class"); |
return; |
return; |
} |
} |