[Samba] Join AD fails DNS update

steve steve at steve-ss.com
Tue Jun 24 12:34:20 MDT 2014


On Tue, 2014-06-24 at 20:07 +0200, Lars Hanke wrote:
> > The ONLY way we can get it to register upon domain join is:
> >
> > /etc/hosts
> > 127.0.0.1 fqdn hostname localhost
> >
> > And /etc/hostname
> > fqdn
> >
> > 1. net ads leave -UAdministrator
> > 2. remove the A record on the DC
> > 3. net ads join -UAdministrator
> 
> Left the domain, changed /etc/hosts and /etc/hostname, couldn't remove 
> any A record (see other post), joined again => same situation.
> 
> However, after leaving the dn: 
> CN=samba4,CN=Computers,DC=ad,DC=microsult,DC=de in sam.ldb was gone on 
> the AD DC. After joining a new one appeared. So the join seems to work.
> 
> Regards,
>   - lars.

Hi lars
Is there a pressing reason to have the Samba box registered in DNS? It
is very difficult to do and is not necessary unless you are running any
kerberized service on it. For an AD client or a samba file server all
you need is a keytab.
Just a thought. . .
Steve




More information about the samba mailing list