Samba4 joining a domain

Bryan Haase bhaase at
Tue Apr 13 09:24:49 MDT 2010

I have been running samba4 as a DC for authentication with a samba3 fileserver joined in a limited production environment of about 50 users and things are working great.  However I really want to add a second DC.  However, I am having all sorts of problems with net vampire.  After that latest git pull I noticed that ?realm is no longer required.  But when I run the following command I get this error message:


[root at dc02 samba]# bin/net vampire --target-dir=/usr/local/samba/private/ -Uadministrator ?WFOOBAR.COM -d4

Password for [FOOBAR.COM\administrator]:

Become DC [(null)] of Domain[FOOBAR.COM]/[]

Promotion Partner is Server[] from Site[Default-First-Site-Name]

Options:crossRef behavior_version[2]

        schema object_version[47]

        domain behavior_version[2]

        domain w2k3_update_revision[8]


Traceback (most recent call last):

  File "/usr/local/samba/lib64/python2.4/site-packages/samba/netcmd/", line 99, in _run

    return*args, **kwargs)

  File "/usr/local/samba/lib64/python2.4/site-packages/samba/netcmd/", line 51, in run

    (domain_name, domain_sid) = net.vampire(domain=domain, target_dir=target_dir)




DC01 adds DC02 to the CN=Computers tree before terminating.

Both servers are running Centos 5.4 x64


Any thoughts?



More information about the samba-technical mailing list