[Samba] how do I setup a second samba4 DC with replication, etc?

Aaron Solochek aarons-samba at aberrant.org
Fri Oct 1 16:32:49 MDT 2010


On 10/01/2010 05:51 PM, Michael Wood wrote:
> On 1 October 2010 18:22, Aaron Solochek <aarons-samba at aberrant.org> wrote:
>> I have 1 samba4 server setup as a domain controller for FOO.COM.  I want to add
>> a second for redundancy.  I really don't want to mess this up, and I can't find
>> a clear guide online.  Can anyone tell me the proper commands?
> 
> The instructions are here:
> http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC
> 
> It's probably best to test it first, and of course do backups too.
> 

I have backups, so I tested it:

Obviously something isn't working.

Password for [FOO.COM\Administrator]:
CLDAP response: forest=FOO.com dns=FOO.com netbios=FOO
server_site=Default-First-Site-Name  client_site=Default-First-Site-Name
Become DC [NEW-DC] of Domain[FOO]/[FOO.com]
Promotion Partner is Server[OLD-DC.FOO.com] from Site[Default-First-Site-Name]
Options:crossRef behavior_version[2]
	schema object_version[47]
	domain behavior_version[2]
	domain w2k3_update_revision[9]
libnet_BecomeDC() failed - NT code 0xc00020ee
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/samba/netcmd/__init__.py", line 99, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/samba/netcmd/vampire.py", line 51, in run
    (domain_name, domain_sid) = net.vampire(domain=domain, target_dir=target_dir)
RuntimeError: NT code 0xc00020ee

This is using the samba4 debs on ubuntu.
Version: 4.0.0~alpha14~bzr13824~ppa160+170~maverick1


I don't even know where to start debugging this.

-Aaron


More information about the samba mailing list