From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; cs-CZ; rv:1.7)
Description of problem:
I have same passwords in /etc/shadow and in krb5. I use this config:
password requisite /lib/security/$ISA/pam_cracklib.so retry=3 type=
password required /lib/security/$ISA/pam_unix.so nullok
use_authtok md5 shadow
password required /lib/security/$ISA/pam_krb5.so use_authtok
Changing password for user luf.
Changing password for luf
(current) UNIX password:
passwd: Authentication failure
pam_krb5 doesn't use typed password used in pam_unix. I see same
problem in older versions and in CVS too.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. config pam (see Description)
2. add user to /etc/passwd and /etc/shadow
3. add principal to kerberos
4. give same password to /etc/shadow and to kerberos
5. login as the user and type passwd
Actual Results: see Description
Expected Results: It may ask for new password.
I create patch which correct this problem.
$ patch -u password.c.orig password.c
Created attachment 103248 [details]
patch for use_authtok during changing password
Fixing in 2.1.2. Thanks!