Currently, I have Samba on Ubunut Linux 16.04 connecting to a domain controller. When I joined, I joined to ad-1.example.com
; however, after two weeks, it found read-only-adc.example.com
on its own subnet and proceeded to completely fail to function anymore.
Samba really, really doesn't like read-only domain controllers.
Thus far, I haven't found any way to force Samba to use the primary domain controller one subnet over, either by modifying /etc/krb.conf
or putting false information in /etc/hosts
(it finds the IP address without looking in the hosts
file).
Does anyone know how to resolve this?