[Samba] Error joining Samba 4.7.4 DC to existing Win2008R2 domain

Rowland Penny rpenny at samba.org
Sun Feb 25 13:30:18 UTC 2018


On Sun, 25 Feb 2018 12:28:39 +0100
Claudio Nicora via samba <samba at lists.samba.org> wrote:

> Tried again to join, now with full cleanup of /var/lib/samba/private 
> folder on new server... same error.
> 
> Anyone have an idea of what's going wrong?
> 
> 
> > ============================================================
> > root at SRVAD-NEW:~# samba-tool domain join SAMDOM.LOCAL DC 
> > -U"SAMDOM.LOCAL\Administrator" --dns-backend=BIND9_DLZ 
> > --option="interfaces=eth_lan" --verbose -d3
> >

Is your WORKGROUP really the same as your dnsdomain ?


> > Finding a writeable DC for domain 'SAMDOM.LOCAL'
> > resolve_lmhosts: Attempting lmhosts lookup for name 
> > _ldap._tcp.SAMDOM.LOCAL<0x0>
> > Found DC SRVAD-OLD.SAMDOM.LOCAL
> > resolve_lmhosts: Attempting lmhosts lookup for name 
> > SRVAD-OLD.SAMDOM.LOCAL<0x20>
> > Password for [SAMDOM.LOCAL\Administrator]:
> > workgroup is SAMDOM
> > realm is SAMDOM.LOCAL

Seemingly not ;-)

So, the command should be:

samba-tool domain join samdom.local DC -U Administrator
--dns-backend=BIND9_DLZ --verbose -d3

Can you post your /etc/hosts and /etc/resolv.conf files

Can you also tell us the ipaddresses of the original DC and the new DC

Rowland



More information about the samba mailing list