Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 9bb938de93248ca5cc71ecf424cefd6c > files > 14

kdebase-3.5.4-21.el5_5.1.src.rpm

--- kdebase-3.3.1/kcheckpass/checkpass_pam.c.orig	2006-05-08 22:25:31.000000000 +0200
+++ kdebase-3.3.1/kcheckpass/checkpass_pam.c	2006-05-08 22:26:39.000000000 +0200
@@ -189,7 +189,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_REFRESH_CRED);
   if (pam_error != PAM_SUCCESS) {
     pam_end(pamh, pam_error);
     return AuthError;