samba - join domain - automatically set workgroup
- by ftiaronsem
Hell alltogether
Since I have to do this often, I want to automate the joining to a windows domain as much as possible. While joining a domain one has to specify
realm =
in the /etc/smb.conf, along with some other settings like security=ads. Among these settingst there is
workgroup =
My question is: Is it possible to fill this field automatically by samba, while joining a domain? Normally I would just have said never, but as I tried leaving this field blank while joining a domain, i got:
Failed to join domain: Invalid configuration ("workgroup" set to '', should be 'BLABLA') and configuration modification was not requested
This has made me wondering whether an automatic modification is possible and if so how? A search on the internet and the man page brought no results.
It would be really great, if someone could answer that.
Thanks in advance
ftiaronsem