[Samba] How to join a Linux machine to a Samba4 domain

steve steve at steve-ss.com
Thu Jan 30 11:32:21 MST 2014


On Thu, 2014-01-30 at 11:43 -0600, Ricky Nance wrote:
> Don't add the DC to your hosts file, that can cause dns issues to be
> hidden, making seemingly random problems VERY hard to find later on.
> 
It's the only way I know to register the dns the first time you join a
Linux client. Otherwise there is a dns update error. By all means remove
it afterwards. If you are having problems.

HTH
Steve

> Ricky
> 
> 
> On Thu, Jan 30, 2014 at 11:22 AM, Lea Massiot <lmloge at orange.fr> wrote:
> 
> > Hello,
> >
> > > add the DC IP and fqdn to /etc/hosts
> >
> > If the DC IP is: 192.168.0.13
> > and its fqdn is: b.example.com
> > where "b" is the hostname of the DC,
> > does this mean that I have to add the line below to "/etc/hosts"?
> >
> > 192.168.0.13    b.example.com
> >
> > > make sure that the client has the DC has its primary DNS.
> >
> > Do you mean that my "/etc/resolv.conf" should look like this (below)?
> >
> > search example.com
> > nameserver 192.168.0.13
> >
> > > It should also get domain users authenticated.
> >
> > What does this mean?
> >
> > Best regards.
> >
> >
> >
> > --
> > View this message in context:
> > http://samba.2283325.n4.nabble.com/How-to-join-a-Linux-machine-to-a-Samba4-domain-tp4660009p4660054.html
> > Sent from the Samba - General mailing list archive at Nabble.com.
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/options/samba
> >




More information about the samba mailing list