[Samba] Join DC has failed with error: NT_STATUS_PASSWORD_RESTRICTION

Rowland penny rpenny at samba.org
Sun Sep 22 18:23:13 UTC 2019

On 22/09/2019 19:05, tomek82 via samba wrote:
>   Hi,
> I've joined samba DC to existing windows domain using:
You say 'existing windows domain', but what is the Windows domain ?
> samba-tool domain join ***.** DC -U"***\admin" --dns-backend=BIND9_DLZ
> It has stopped on
> Adding DNS account CN=dns-DC...
> with the below error.
> ERROR(runtime): uncaught exception - (-1073741716, 'SetUserInfo2 level 26 for [dns-DC] failed: NT_STATUS_PASSWORD_RESTRICTION')

This would seem to mean the password isn't complex enough, but the 
password should be random, so is the Windows domain set to have 
extremely complex passwords ?

What version of Samba are you running ?

And on what OS ?


More information about the samba mailing list