[Samba] Using samba-tool to join a linux file server to the domain doesn't appear to work

Rowland Penny rpenny at samba.org
Thu Nov 4 15:15:32 UTC 2021


On Thu, 2021-11-04 at 09:06 -0600, David Mulder via samba wrote:
> 
> On 11/4/21 9:01 AM, David Mulder via samba wrote:
> > 
> > On 11/4/21 8:59 AM, Patrick Goetz via samba wrote:
> > > Interesting.  Then I'm really confused as to why when I use
> > > 
> > >     samba-tool domain join $domain MEMBER -U administrator
> > > 
> > > The DNS A entry for the machine isn't created, but when I use
> > > 
> > >     net ads join -U administrator
> > > 
> > > it is. (same domain, same host joining)
> > > 
> > 
> > Well, you have to be using samba-tool domain join member in 4.15+.
> > The 
> > samba-tool command is completely broken before that release ;)
> > 
> 
> (facepalm) Or maybe it's because I neglected to call the 
> _net_ads_join_dns_updates() command in samba-tool domain join member.
> Let me see what I can do to fix this.

Ah, it seems that you are not directly calling 'net ads join', you are
calling into the 'net ads join' code.

Rowland





More information about the samba mailing list