[Samba] Restrict certain words in passwords

Andrew Bartlett abartlet at samba.org
Tue May 17 21:12:32 UTC 2022


On Tue, 2022-05-17 at 16:25 -0300, Carlos via samba wrote:
> Hi. I wonder, if is possivel restrict certain words in password of
> users 
> ? To dont permissionded user for exemple set "XXXX" in your
> password, 
> with "XXX1" or "XXX@" or "123XXX"...

See 'check password script'.  Some have set this up to check against
the master list of known public passwords from haveibeenpwned for
example.  Be aware that this overrides the other complexity checks (to
allow you to do that, if you need, eg to allow a passphrase).

Andrew Bartlett

-- 
Andrew Bartlett (he/him)       https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT   https://catalyst.net.nz/services/samba

Samba Development and Support, Catalyst IT - Expert Open Source
Solutions




More information about the samba mailing list