[Samba] Samba-4.17 joining an existing domain.

James B. Byrne byrnejb at harte-lyne.ca
Mon Feb 3 11:43:47 MST 2014

MS Windows Advanced Server 2000

We have a very old MS-Windows Domain Controller running on equally old
hardware that we wish to replace with a Samba4 installation running on a
virtualised CentOS-6.5 .  Other than most user desktops this is the last
remaining MS based system here and we would really, really like to shut it
down.  Our plan is to join two Samba4 installations as DCs, transfer the FSMO
roles and file shares and run for a couple of weeks until we are confident
that things are working as anticipated.  Once we feel confident enough then we
will demote the original DC and decommission the host.

We have installed the necessary rpm packages and gone through the wiki "HowTo
Join a domain as a DC."

We are at the point in the process where we are attempting to update the
existing DC's DNS using samba-tools.  This is the console log from our

host -t A brdc-02.brockley.harte-lyne.ca
brdc-02.brockley.harte-lyne.ca has address
brdc-02.brockley.harte-lyne.ca has address

[root at brdc-02 ~]# samba-tool dns add
_msdcs.brockley.harte-lyne.ca 4c012287-f5d1-4f54-b186-3c6d5bfc2c68 CNAME
brdc-02.brockley.harte-lyne.ca -Uadministrator
Password for [BROCKLEY\administrator]:
ERROR(runtime): uncaught exception - (-1073610706,
  File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line
175, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/samba/netcmd/dns.py", line 1067, in
    0, server, zone, name, add_rec_buf, None)

I have checked the DNS on BRDC-01, the existing DC, and there are no entries
for brdc-02 whatsoever.  The error message seems somewhat disturbing so I am
asking for information respect what this error means, how it is caused and
advice on how to proceed.

***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

More information about the samba mailing list