From: Mark Reynolds <mreynolds@xxxxxxxxxx>
Sent: Friday, September 24, 2021 9:38 AM To: General discussion list for the 389 Directory server project. <389-users@xxxxxxxxxxxxxxxxxxxxxxx>; Michael Starling <mlstarling31@xxxxxxxxxxx> Subject: Re: [389-users] Password lockout policy max failure.
On 9/24/21 9:23 AM, Michael Starling wrote:
This is because you have a mix of global and local policies. Local policies override the global policy. In the local policy you did NOT set passwordMaxFailure, so it uses the default of 3. If you don't need separate policies then just use the global policy for everything and remove he local policies.
On a side note, if you are using dsconf on the same system as the directory server you can simplify the cli usage to use LDAPI, and it's much less to type:
dsconf -W -D cn=manager
ldaps://dsa101.mydomain.com:636 pwpolicy get
This can become:
# dsconf slapd-YOUR_INSTANCE_NAME pwpolicy get
This only works if you run dsconf on the DS machine, and you need to run it as root. This works for all the CLI tools (dsidm, dsctl, and dsconf)
HTH, Mark
Once again, great information Mark.
So essentially, I need to set passwordMaxFailure
5 in the local policy as well?
Thanks
-- Directory Server Development Team |
_______________________________________________ 389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure