I've fixed with with the following file It appears to work for me. I don't really know enough about PAM, krb5 or AFS to know whether this is a fix for everyone everywhere.
In particular, this situation tends to renew the AFS frequently, which may be an issue. cheers stuart ** Attachment added: "new pam_openafs-krb5_sess.c with authenticate" http://librarian.launchpad.net/4937263/pam_openafs-krb5_sess.c -- pam authenticate https://launchpad.net/bugs/68361 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs