Bug#476402: kdebase-bin: kcheckpass does not update Kerberos ticket cache
Following patch fixes the problem:
--- kcheckpass/checkpass_pam.c.original 2008-04-16 20:57:12.000000000 +0400
+++ kcheckpass/checkpass_pam.c 2008-04-16 20:57:30.000000000 +0400
@@ -190,7 +190,7 @@
/* Refresh credentials (Needed e.g. for AFS (timing out Kerberos tokens)) */
/* REINIT_CRED and REFRESH_CRED are not clearly defined and thus likely to
* fail, so we use ESTABLISH_CRED ... */
- pam_error = pam_setcred(pamh, PAM_ESTABLISH_CRED);
+ pam_error = pam_setcred(pamh, PAM_REINITIALIZE_CRED);
if (pam_error != PAM_SUCCESS) {
pam_end(pamh, pam_error);
return AuthError;
--
Alexandra N. Kossovsky
OKTET Labs (http://www.oktetlabs.ru/)
Phones: +7(812)956-42-86(mobile) +7(812)428-67-09(office)
e-mail: sasha@oktetlabs.ru
Reply to: