[Samba] Join AD fails DNS update

steve steve at steve-ss.com
Tue Jun 24 11:00:12 MDT 2014


On Tue, 2014-06-24 at 18:06 +0200, Lars Hanke wrote:
> Hi,
> 
>  > setup the resolv.conf
> My resolv.conf looks okay and I can resolve other AD specific stuff.
> 
> > check you hosts file
> > 	127.0.0.1 localhost localhost.localdomain.
> > 	IP_OF_THIS_SERVER  hostname.yourinternal.domain.tld

The ONLY way we can get it to register upon domain join is:

/etc/hosts
127.0.0.1 fqdn hostname localhost

Lose the IP_OF_THIS_SERVER for the join. 

And /etc/hostname
fqdn 

1. net ads leave -UAdministrator
2. remove the A record on the DC
3. net ads join -UAdministrator

Nothing else works on Ubuntu. YMMV on deb.
Steve




More information about the samba mailing list