When adding new users using 'samba-tool user add', the password complexity settings are ignored. When changing the password using 'samba-tool user setpassword', they are considered.
Not only with samba-tool add. Same issue with Windows RSAT.
Created attachment 8299 [details] Patches cherry-picked from master
Created attachment 8338 [details] Patches for v4-0-test
Comment on attachment 8338 [details] Patches for v4-0-test We can do a git cherry-pick -7 -x from origin/master once autobuild is done
Comment on attachment 8338 [details] Patches for v4-0-test ACK
==> Karolin for 4.0.0 :-)
Created attachment 8339 [details] updated patchset for v4-0-test This adds one patch to skip the samba4.rpc.samr.passwords test for the ncacn_np(dc) and s4member environments. These currently fail.
Pushed to v4-0-test. Closing out bug report. Thanks!