[Samba] Unable to join domain I think.

Rowland Penny rpenny at samba.org
Wed Sep 14 07:11:38 UTC 2022



On 13/09/2022 22:25, Rob Campbell wrote:
> [Tue Sep 13 17:07:54] [root at D01~$] net ads join -U Administrator
> Enter Administrator's password:
> Using short domain name -- HOME
> Joined 'D01' to dns domain 'home.rob-campbell.lan'
> DNS Update for d01.home.rob-campbell.lan failed: ERROR_DNS_UPDATE_FAILED
> DNS update failed: NT_STATUS_UNSUCCESSFUL

That generally happens because the FQDN cannot be found, try setting:

hosts:          files mdns4_minimal [NOTFOUND=return] dns myhostname

in /etc/nsswitch.conf to:

hosts:          files dns

> [Tue Sep 13 17:11:12] [root at D01~$] net ads testjoin
> Join is OK
> 
> There is an old thread that stopped (because I rebuilt my server and 
> didn't get back to this until now)
> 
>   * /To/: samba at xxxxxxxxxxxxxxx
>   * /Subject/: Re: DNS Update Failing
>   * /From/: Rowland Penny via samba <samba at xxxxxxxxxxxxxxx>
>   * /Date/: Tue, 02 Nov 2021 17:08:09 +0000
>   * /In-reply-to/:
>     <CAHej=pX9sjuiDdHt=TUoT+zjSt7JFEB37b5LUK90=iZ6A4orWw at mail.gmail.com
>     <mailto:iZ6A4orWw at mail.gmail.com>>
>   * /Reply-to/: Rowland Penny <rpenny at xxxxxxxxx>
>   * /User-agent/: Evolution 3.30.5-1.1
> 
>> Just a thought, have you added the reverse record ?
>>
>> Rowland
> 
> Isn't the PTR the reverse record?  I'm just asking because it appears I am back to that same problem.  I don't have that email to continue that chain.

Yes, the PTR record is also known as the reverse record.

Rowland




More information about the samba mailing list