[Samba] Joining Samba4 as DC--Error Failed to find a writeable DC for domain

Daniel Müller mueller at tropenklinik.de
Wed Jul 31 01:27:49 MDT 2013


Dear all,
I set up samba 4.1 (SlaveDC)in a test environment on CentOs 6.4.
I tried to join this host to my running and provisioned MasterDC (Samba
4/CentOs 6.4).
On the SlaveDC I did :  samba-tool domain join tplk.loc DC -Uadministrator
--realm=tplk.loc --dns-backend=BIND9_DLZ
It gives me:
[root at s4slave ~]# samba-tool domain join tplk.loc DC -Uadministrator
--realm=tplk.loc --dns-backend=BIND9_DLZ
Finding a writeable DC for domain 'tplk.loc'
ERROR(exception): uncaught exception - Failed to find a writeable DC for
domain 'tplk.loc'
  File
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
line 175, in _run
    return self.run(*args, **kwargs)
  File
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/domain.py",
line 552, in run
    machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
  File "/usr/local/samba/lib64/python2.6/site-packages/samba/join.py", line
1082, in join_DC
    machinepass, use_ntvfs, dns_backend, promote_existing)
  File "/usr/local/samba/lib64/python2.6/site-packages/samba/join.py", line
73, in __init__
    ctx.server = ctx.find_dc(domain)
  File "/usr/local/samba/lib64/python2.6/site-packages/samba/join.py", line
246, in find_dc
    raise Exception("Failed to find a writeable DC for domain '%s'" %
domain)

Do I miss something?Just pulled with git, configure, make, make install, no
porovisioning, just domain join!???

-----------------------------------------------
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------



More information about the samba mailing list