2017-08-10 15:02:50 +02:00
|
|
|
Index: pam_krb5-2.4.13/src/auth.c
|
2010-03-05 11:54:32 +01:00
|
|
|
===================================================================
|
2017-08-10 15:02:50 +02:00
|
|
|
--- pam_krb5-2.4.13.orig/src/auth.c
|
|
|
|
+++ pam_krb5-2.4.13/src/auth.c
|
|
|
|
@@ -478,6 +478,6 @@ pam_sm_setcred(pam_handle_t *pamh, int f
|
2011-08-22 10:25:27 +02:00
|
|
|
"pam_setcred(PAM_DELETE_CRED)",
|
|
|
|
_pam_krb5_session_caller_setcred);
|
2009-02-04 00:17:30 +01:00
|
|
|
}
|
|
|
|
- warn("pam_setcred() called with no flags");
|
|
|
|
- return PAM_SERVICE_ERR;
|
|
|
|
+ warn("pam_setcred() called with no flags. Assume PAM_ESTABLISH_CRED");
|
|
|
|
+ return pam_sm_open_session(pamh, (flags | PAM_ESTABLISH_CRED), argc, argv);
|
|
|
|
}
|