[Samba] Passwordsettings

Rowland Penny
Tue, 02 Oct 2018 18:25:37 -0000

On Tue, 2 Oct 2018 15:13:36 -0300
Carlos via samba <samba at lists.samba.org> wrote:

> Hi!
>
> I have one question about passwordsettings in Samba 4:
>
> My configuration:
>
> S.O. : Ubuntu 16.04
>
> Samba Version:  4.7.7
>
> --
>
> samba-tool domain passwordsettings show
>
> Password complexity: on
> Store plaintext passwords: off
> Password history length: 24
> Minimum password length: 7
> Minimum password age (days): 0
> Maximum password age (days): 180
> Account lockout duration (mins): 30
> Account lockout threshold (attempts): 0
> Reset account lockout after (mins): 30
>
> --
>
>
> My Question is, one user have password *T12345678t* , sequential
> number, i liked know i how block this with "Password complexity"
? It
> is possible ?
>
> Thanks
>
>
> Regards;
>

You cannot, T12345678t is a valid complex password, even more so if the
'*' is part of the password. You could consider upgrading to 4.9.1
which has 'Password Settings Objects'. This might be what you are
looking for.

Rowland