Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ticket #49082 - Fix password expiration related shadow attributes
The original patch was provided by Gordon Messmer (gordon.messmer@gmail.com) with the description: Bug description: Shadow attributes (in /etc/shadow and in LDAP) are typically unset when no policy is in place. 389-ds will incorrectly return values (possibly set to 0) when there is no policy. Fix description: Only auto-fill shadow attributes when a password policy is available. These are empty when no policy is in place. Don't auto-fill expiration related shadow attributes if passwords never expire. Reviewed by William Brown <wibrown@redhat.com> (Thanks!!).
- Loading branch information
Showing
1 changed file
with
38 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters