Steve Langasek [Thu, 3 Aug 2000 19:03:52 +0000 (19:03 +0000)]
Relevant BUGIDs: 111035
Purpose of commit: bugfix to pam_unix_auth
Commit summary:
---------------
Fix for 'likeauth' handling in the pam_unix_auth module. If pam_setcred
needs to return the same value as returned by pam_authenticate, malloc()
space for this return value and pass its address to pam_set_data().
Also, changes pam_sm_setcred() so that it reads this value properly.
Steve Langasek [Tue, 4 Jul 2000 04:39:35 +0000 (04:39 +0000)]
Relevant BUGIDs: 108845
Purpose of commit: bugfix
Commit summary:
---------------
Fix to pam_unix password changing code: if the password file is locked,
retry repeatedly to reduce the risk of leaving other authentication
databases in an inconsistent state when we fail.