[Samba] Joining a DC does not set dns forwarder
jonathon.reinhart at gmail.com
Fri Jun 14 03:35:16 UTC 2019
When creating a new Samba AD Domain (using `samba-tool domain
provision`), samba-tool will copy your current nameserver from
/etc/resolv.conf to `dns forwarder` in the newly-generated smb.conf.
However, when joining a DC (using `samba-tool domain join`),
samba-tool does not write `dns forwarder` to the new smb.conf. Is
there any reason Samba should be inconsistent here? After all, a DC is
I plan to open a ticket on Bugzilla (once my account is created).
Until this is fixed (?) I feel like the Wiki  should be updated to
indicate that a forwarder must be manually configured. Particularly
because a) it's different from provision, b) the AD DC configuration
tends to be more up-front, and less hacking on smb.conf.
During a new provision, the code will get the current nameserver from
/etc/resolv.conf , and pass it as `dns_forwarder` to `provision()`
which will write into the newly-generated smb.conf . During a join,
the code does not pass `dns_forwarder`.
More information about the samba