Annotation of /trunk/netkit-rsh/patches/netkit-rsh-0.17-pam-sess.patch
Parent Directory | Revision Log
Revision 153 -
(hide annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 498 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 498 byte(s)
-import
1 | niro | 153 | --- netkit-rsh-0.17/rexecd/rexecd.c.pam-sess 2004-11-17 10:58:27.894345912 +0100 |
2 | +++ netkit-rsh-0.17/rexecd/rexecd.c 2004-11-17 10:58:44.794776656 +0100 | ||
3 | @@ -307,6 +307,9 @@ | ||
4 | PAM_BAIL; | ||
5 | pam_error = pam_setcred(pamh, PAM_ESTABLISH_CRED); | ||
6 | PAM_BAIL; | ||
7 | + pam_error = pam_open_session(pamh, 0); | ||
8 | + PAM_BAIL; | ||
9 | + pam_close_session(pamh, 0); | ||
10 | pam_end(pamh, PAM_SUCCESS); | ||
11 | /* If this point is reached, the user has been authenticated. */ | ||
12 | setpwent(); |