[Samba] passwd complexity

Felipe_G0NZALEZ_SANTIAG0;
2015-03-18T03:21:48Z

When I asked about the passwd requirements, I received this answer:
The same like in a MS AD environment:
https://technet.microsoft.com/en-us/library/cc786468%28v=ws.10%29.aspx

It says: " Password must not contain the user's entire samAccountName
(Account Name) value or entire displayName (Full Name) value. Both checks are
not case sensitive".
But: I have an AD DC with samba4.1.9 in UbuntuServer14.04. I enabled the
complexity policy (on) and then I created:
#samba-tool user create test test.12345
And the output was: User test created successfully!
So, I don't understand! Really this option works? If I enabled the
complexity, Why I can create a user test (with samAccountName test) and passwd
which contains the samAccountName ? My regards, F.
----- Original Message -----

Hello Filipe,

Am 04.03.2015 um 22:16 schrieb Felipe_G0NZ4LEZ_S4NTI4G0();:

> What's the password requirements when I enable the option:
complexity=on ?
> How many characters ? What special characters?, etc.

The same like in a MS AD environment:
https://technet.microsoft.com/en-us/library/cc786468%28v=ws.10%29.aspx


The min. characters is a different setting.




Regards,
Marc