samba-tool user list samba-tool user create john.doe secretPassword '--login-shell /bin/bash' '--company HOME' '--given-name John' '--userou OU=Users,OU=HOME'
samba-tool user setexpiry Administrator --noexpiry
Add domain admin:
$ samba-tool user show john.doe $ samba-tool group listmembers "Domain Admins" user.name Administrator $ samba-tool group addmembers "Domain Admins" john.doe