The enviroment variable KRB5CCNAME is worst set before calling pam_setcred. It is the reason why kerberos auth throught krb tickets doesn't work. The patch to fix follow.
Created attachment 443 [details] fix of this bug This patch fixed the bug by inserting "FILE:" string to the begin of enviroment variable KRB5CCNAME.
*** Bug 751 has been marked as a duplicate of this bug. ***
Created attachment 545 [details] Tidied patch This is a slightly altered version of Petr's patch. We don't need to check the return value of xmalloc() as it calls fatal() if NULL, and I've moved the variable initialization to the start of the function.
Patch applied - thanks
Mass change of RESOLVED bugs to CLOSED