Screenshots do not want to be inserted. here is a more detailed link. However, when you try to change the password to "0000", an error appears, saying that the policies do not correspond. sysvol folder is available. no policies work. Help. Server on Centos 6.5 sernet samba ad 4.1 What is the reason?

  • DefaultDomainPolicy cannot be completely turned off in AD, and there are quite stringent password requirements - rdorn

1 answer 1

from the answers on the link:


On the fourth Samba password policies are set via the command line:

$ samba-tool domain passwordsettings set 

List of possible parameters after set :

 --quiet -выход --complexity=on|off|default - Пароль должен отвечать требованиям сложности --store-plaintext=on|off|default - Хранить пароли используя обратимое шифрование --history-length=число - Число хранимых предыдущих паролей пользователей(Требовать неповторяемость паролей) --min-pwd-length=число - Минимальное количество символов в пароле --min-pwd-age=число - Минимальный срок действия пароля --max-pwd-age=число - Максимальный срок действия пароля