Patch: Solved: Re: [OpenAFS-devel] PAM / openssh 3.7.1p2
Dean Anderson
dean@av8.com
Mon, 6 Oct 2003 16:41:05 -0400 (EDT)
The following patch fixes openssh-3.7.1p2 to work with the pam_afs.so
module:
If anyone wants the rpm spec file for redhat 7.3, let me know.
--Dean
[root@dakota SOURCES]# more openssh-3.7.1p2-av8.patch
diff -r -u openssh-3.7.1p2.orig/session.c openssh-3.7.1p2/session.c
--- openssh-3.7.1p2.orig/session.c Tue Sep 23 04:59:08 2003
+++ openssh-3.7.1p2/session.c Mon Oct 6 01:25:05 2003
@@ -1275,8 +1275,8 @@
* Reestablish them here.
*/
if (options.use_pam) {
- do_pam_session();
do_pam_setcred(0);
+ do_pam_session();
}
# endif /* USE_PAM */
# if defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) ||
defined(WITH_IRIX_ARRAY)