~vcs-imports/pam/main

Viewing all changes in revision 1027.

  • Committer: t8m
  • Date: 2009-02-26 18:56:12 UTC
  • Revision ID: vcs-imports@canonical.com-20090226185612-mlwaeeq6y1p4hazq
Relevant BUGIDs: debian#514437 rhbz#487216

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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: