[Samba] Unable to join a new dc to the domain.

Rowland Penny rpenny at samba.org
Tue Dec 4 20:36:18 UTC 2018

On Tue, 4 Dec 2018 15:06:48 -0500 (EST)
Tom Diehl via samba <samba at lists.samba.org> wrote:

> Hi,
> I am trying to join a new 4.9.3 DC to an existing samba domain using 
> https://wiki.samba.org/index.php/Joining_a_Samba_DC_to_an_Existing_Active_Directory
> as a guide.
> I have the resolver pointed to the 2 existing DC's and names
> resolution is working. I am able to get a kerberos ticket.
> When I try to join the domain I get the following:
> (vdc3 pts3) # samba-tool domain join kmg.mydomain.com
> -U"KMG\administrator" --dns-backend=BIND9_DLZ --option='idmap_ldb:use
> rfc2307 = yes' 

If that is the exact command you used, you forgot 'DC'
It should have been:

samba-tool domain join kmg.mydomain.com DC -U"KMG\administrator"
--dns-backend=BIND9_DLZ --option='idmap_ldb:use rfc2307 = yes'


More information about the samba mailing list