From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Description of problem:
pam_userdb stopped working after upgrade vom fc3 to fc4.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. setup /some/text/file with username\npassword
2. run db_load -T -t hash -f /some/text/file /some/text/file.db
3. configure pam to use it:
auth required pam_userdb.so db=/some/text/file
Actual Results: login fails
Expected Results: login should succeed
pam_userdb can e.g. be used with vsftpd.
contents of /etc/pam.d/vsftpd:
auth required pam_userdb.so debug db=/etc/vsftpd_login
account required pam_permit.so
session required pam_permit.so
with pam_userdb.so from pam-0.79-9.1:
ymmv pam_userdb: Verify user `plonk' with password `samplepassword'
ymmv pam_userdb: password in database is [0x835d728]`samplepassword', len is 14
after replacing it with the FC3 one from pam-0.77-66.2.i386.rpm it works again:
pam_userdb: Verify user `plonk' with password `samplepassword'
pam_userdb: password in database is [0x8356928]`samplepassword', len is 14
pam_userdb: user 'plonk' granted acces
while testing, I also saw garbage added to the password:
password in database is [0x*******]`********^P', len is 8
password in database is [0x*******]`*************ogin.db', len is 13
Fixed in RAWHIDE and FC4 updates.
Latest version in FC4 updates (and testing) is pam-0.79-9.1, which the report
above is about.
pam-0.80-5 from rawhide works, though. Thanks.
It's not yet pushed out. (See the Fixed in field for the version which is fixed.)
*** Bug 164680 has been marked as a duplicate of this bug. ***
*** Bug 169988 has been marked as a duplicate of this bug. ***
I grabbed a copy of pam_userdb.so v0.79-9.5 from updates for FC4 and that works.