Bug 9679 - "samba-tool domain provision" ignores password policies
"samba-tool domain provision" ignores password policies
Status: RESOLVED INVALID
Product: Samba 4.0
Classification: Unclassified
Component: Tools
unspecified
x64 Linux
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-25 22:41 UTC by Antony McLellan
Modified: 2013-02-27 02:46 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antony McLellan 2013-02-25 22:41:54 UTC
Situation is manifest when these two commands are run during samba 4 provisioning

samba-tool  domain passwordsettings set --complexity=off --min-pwd-length=6

samba-tool domain provision --realm=******.example.com --domain=****** --adminpass=111111 --server-role=dc

The expected result is a successful provisioning, however the outcome is either of password to short or not complex enough.
Comment 1 Andrew Bartlett 2013-02-27 02:46:55 UTC
The provision wipes any existing settings, including password complexity settings.

To set a weak admin password, do so after you provision.