4ccaaa958f
- update to version 2.3.13 * don't bother creating a v5 ccache in "external" mode * add a "trace" option to enable libkrb5 tracing, if available * avoid trying to get password-change creds twice * use an in-memory ccache when obtaining tokens using v5 creds * turn off creds==session in "sshd" * add a "validate_user_user" option to control trying to perform user-to-user authentication to validate TGTs when a keytab is not available * add an "ignore_k5login" option to control whether or not the module will use the krb5_kuserok() function to perform additional authorization checks * turn on validation by default - verify_ap_req_nofail controls how we treat errors reading keytab files now * add an "always_allow_localname" option when we can use krb5_aname_to_localname() to second-guess the krb5_kuserok() check * prefer krb5_change_password() to krb5_set_password() OBS-URL: https://build.opensuse.org/request/show/79471 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam_krb5?expand=0&rev=19
14 lines
505 B
Plaintext
14 lines
505 B
Plaintext
Index: src/auth.c
|
|
===================================================================
|
|
--- src/auth.c.orig
|
|
+++ src/auth.c
|
|
@@ -568,6 +568,6 @@ pam_sm_setcred(pam_handle_t *pamh, int f
|
|
"pam_setcred(PAM_DELETE_CRED)",
|
|
_pam_krb5_session_caller_setcred);
|
|
}
|
|
- 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);
|
|
}
|