Samba4 joining a domain

Bryan Haase bhaase at businessolver.com
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/ dc01.foobar.com -Uadministrator ?WFOOBAR.COM -d4

Password for [FOOBAR.COM\administrator]:

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

Promotion Partner is Server[dc01.foobar.com] from Site[Default-First-Site-Name]

Options:crossRef behavior_version[2]

        schema object_version[47]

        domain behavior_version[2]

        domain w2k3_update_revision[8]

libnet_BecomeDC() failed - LDAP_ATTRIBUTE_OR_VALUE_EXISTS

Traceback (most recent call last):

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

    return self.run(*args, **kwargs)

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

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

RuntimeError: LDAP_ATTRIBUTE_OR_VALUE_EXISTS

 

 

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

Both servers are running Centos 5.4 x64

 

Any thoughts?

 

Thanks!



More information about the samba-technical mailing list