aboutsummaryrefslogtreecommitdiff
path: root/xtests/tst-pam_unix4.c
Commit message (Collapse)AuthorAgeFilesLines
* xtests: fix compilation warningDmitry V. Levin2024-09-051-1/+7
|
* build: consistently include config.h unconditionallyDmitry V. Levin2024-08-281-2/+0
| | | | | | | | Given that in most places config.h is included unconditionally, there is no point in keeping remaining HAVE_CONFIG_H checks. Public header files do not use config.h and therefore are not affected by this change anyway.
* Relevant BUGIDs: debian#514437 rhbz#487216Tomas Mraz2009-02-261-0/+154
Purpose of commit: bugfix Commit summary: --------------- 2009-02-26 Tomas Mraz <t8m@centrum.cz> * xtests/Makefile.am: Add tst-pam_unix4. * xtests/tst-pam_unix4.c: New test for password change and shadow min days limit. * xtests/tst-pam_unix4.pamd: Likewise. * xtests/tst-pam_unix4.sh: Likewise. * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Ignore PAM_AUTHTOK_ERR on shadow verification. * modules/pam_unix/passverify.c (check_shadow_expiry): Return PAM_AUTHTOK_ERR if sp_min limit for password change is defied.