Password policy in NC 7.3.1611-rc3

When I remove the check from the option “Strong password policy for Users” can not be set to the user a simple password.

I can’t reproduce the problem with local Samba AD.

What user provider are you using?
Did you find any error on /var/log/messages?
What kind of error is raised by the web interface?

I created a local user ‘andy’

/var/log/messages:

Jan 13 12:29:03 ts /sbin/e-smith/db[5779]: /var/lib/nethserver/db/configuration: NEW passwordstrength=configuration|MaxPassAge|365|MinPassAge|0|PassExpires|no|PassWarning|7|Users|none Jan 13 12:29:04 ts esmith::event[5782]: Event: password-policy-update Jan 13 12:29:04 ts esmith::event[5782]: [NOTICE] clearing sssd cache Jan 13 12:29:04 ts esmith::event[5782]: Action: /etc/e-smith/events/password-policy-update/S10nethserver-sssd-clear-cache SUCCESS [0.198938] Jan 13 12:29:05 ts esmith::event[5782]: Action: /etc/e-smith/events/password-policy-update/S30nethserver-directory-password-policy SUCCESS [1.314546] Jan 13 12:29:05 ts esmith::event[5782]: Event: password-policy-update SUCCESS Jan 13 12:29:27 ts httpd: [NOTICE] NethServer\Tool\ChangePassword: root is changing password to SomeoneElse (andy@iv.local). Members of the adm group have no restriction (score = 1.00)

In web interface message:
New password
Too short

Sorry but the length isn’t part of “strong criteria”.

http://docs.nethserver.org/en/v7rc/accounts.html#complexity

Thank you, I lost sight of that simple password must still be at least 7 characters. I tried to set the 4 characters.

1 Like