Make a backup from the smb.config
Code:
sudo mv /etc/samba/smb.config /etc/samba/smb.config.backup
than remove the file to let the provisioning take over the configuration
Code:
sudo rm -rf /etc/samba/smb.config
Than follow the instructions:
Code:
sudo samba-tool domain provision --use-rfc2307 --interactive
(Google samba reprovision because I am not allowed to post the url to the perfect tutorial)
I hope this safes time for you to solve your problem, too