[Samba] SAMBA failed join domain DC
Rowland Penny
rpenny at samba.org
Mon Feb 19 08:46:03 UTC 2018
On Mon, 19 Feb 2018 12:04:57 +0500
"denis.shigapov via samba" <samba at lists.samba.org> wrote:
> Hi, I'm join samba to windows AD
> OS Centos7samba version 4.7.5
> ========== command JOIN DC==========
> samba-tool domain join example.ru --server=srv-dc01.example.ru --
> username=vas.lah --password=password --realm=EXAMPLE.RU --site=SITE2
> -d 7
>
I would have expected to see:
samba-tool domain join example.ru DC --server=srv-dc01.example.ru
--username=vas.lah --password=password --realm=EXAMPLE.RU --site=SITE2
-d7
Without the 'DC' you will end up with a 'MEMBER' and they do not
work ;-)
> do_join ctx.join_add_dns_records()
> File "/usr/lib64/python2.7/site- packages/samba/join.py", line 1116,
> in join_add_dns_records
> dns_partition=domaindns_zone_dn)
> File "/usr/lib64/python2.7/site-packages/samba/samdb.py", line 939,
> in dns_lookup
> dns_partition=dns_partition)
Is the DC, that you are trying to join to, running a DNS server ?
Rowland
More information about the samba
mailing list