I have a test case, but I'm not sure you'll particularly enjoy it, since it isn't in a neatly isolated form. But if you:
git clone git://git.eyrie.org/kerberos/pam-krb5.git
cd pam-krb5
./autogen
./configure
and then add the username and password of an account in a test Kerberos realm to tests/config/password following the instructions in tests/config/README, and then run:
make check
you will find that the bad-authtok test fails as follows:
The problem is not reproducible without having access to a Kerberos realm to use to test with, unfortunately, since you have to be able to try a failed and then successful authetnication to see the problem.
I have a test case, but I'm not sure you'll particularly enjoy it, since it isn't in a neatly isolated form. But if you:
git clone git://git. eyrie.org/ kerberos/ pam-krb5. git
cd pam-krb5
./autogen
./configure
and then add the username and password of an account in a test Kerberos realm to tests/config/ password following the instructions in tests/config/ README, and then run:
make check
you will find that the bad-authtok test fails as follows:
module/ bad-authtok. .....FAILED 9-10, 13, 34-35, 41-49
This is how I found the problem originally.
The problem is not reproducible without having access to a Kerberos realm to use to test with, unfortunately, since you have to be able to try a failed and then successful authetnication to see the problem.