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

[EMAIL PROTECTED] 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)


_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to