Shurn the Awesomer
Simplifying Active Directory password on Samba

Simplifying Active Directory password on Samba

Written on Wed, 27 July 2016

I often find the password security for simple usage a little overkill. Of course, the security is deliberately set high for our protection, and is highly discouraged to be lowered. I'm not endorsing lower password security. But if you need to simplify your Active Directory password for your user accounts, use these commands:

sudo samba-tool domain passwordsettings set --complexity=off
sudo samba-tool domain passwordsettings set --history-length=0
sudo samba-tool domain passwordsettings set --min-pwd-age=0
sudo samba-tool domain passwordsettings set --max-pwd-age=0

By this, password complexity won't be required, you can reuse old passwords, and you never have to change password due to expiry. Much less administration, if you ask me.