[Samba] After joining domain, Samba uses the workgroup name, not the FQDN when running the net ads command
Rowland Penny
rowlandpenny241155 at gmail.com
Thu Dec 3 10:01:03 UTC 2015
On 02/12/15 22:39, Jonathan S. Fisher wrote:
> All the DNS stuff checks out. The names resolve as they should (They
> pass all checks Mathias suggested). They all give the exact same
> answers. hostname -A is showing correctly.
>
> I nuked the boxed and reinstalled. Same problem. It simply won't
> request the ActiveDirectory SRV records from WINDOWS.CORP.XXX.COM
> <http://WINDOWS.CORP.XXX.COM>, it requests them from WINDOWS and is
> disappointed when there isn't any DNS setup there.
>
> Why does samba keep wanting to use the workgroup name instead of the
> FQDN? Is there some sort of logging we can enable to figure out why
> it's choosing to behave this way?
>
> Rowland: Dnsmasq is not running on the AD subdomain. Those requests
> are passed immediately to the windows boxen.
>
>
OK, what do these commands return when run on the client:
host -t SRV _ldap._tcp.windows.corp.xxx.com.
host -t SRV _kerberos._udp.windows.corp.xxx.com.
host -t A yourclientshostname.windows.corp.xxx.com.
host -t SRV ipaddress_returned_by_last_command
Rowland
More information about the samba
mailing list