Date: Sun, 1 Feb 2015 00:46:48 -0500 From: Ansar Mohammed <ansarm@gmail.com> To: freebsd-bugs@freebsd.org Cc: gjb@freebsd.org Subject: pam_krb5 broken Message-ID: <CAOO1MfvvBC_981C4kwdu8mSiZ%2BYyQGo6g=GMeL-haQU4urBz_A@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello There, I am testing the pam_krb5 module on FreeBSD 10.1. it seems that the code to save the Kerberos ticket on disk is broken. The call to pam_get_data in pam_sm_setcred is failing. As a result a user can login with Kerberos but running kinit does not show any cached tickets. I was reviewing the apple code here : http://www.opensource.apple.com/source/pam_modules/pam_modules-76/pam_krb5/pam_krb5.c and that appears insanely broken. I think they were also trying to fix the same error as they replaced pam_get_data/pam_set_data with pam_getenv/pam_setenv (but only halfway through the code)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOO1MfvvBC_981C4kwdu8mSiZ%2BYyQGo6g=GMeL-haQU4urBz_A>