samba - join domain - automatically set workgroup
Posted
by
ftiaronsem
on Server Fault
See other posts from Server Fault
or by ftiaronsem
Published on 2011-01-07T22:00:49Z
Indexed on
2011/01/07
22:55 UTC
Read the original article
Hit count: 279
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
© Server Fault or respective owner