joining a a DC via vampire fails

Matthieu Patou mat at
Mon Jul 26 01:56:37 MDT 2010

  Hi Ivan,

can you try with   --target-dir=/usr/local/testvampire (you have to 
create the folder first).

Can you also send us the gzipped log of the vampire with -d 10


bin/net vampire -Uadministrator -d 10 --target-dir=/usr/local/testvampire

Be sure to clean the folder before each test, can you also send us the 
gzipped log of the vampire with -d 10.


On 26/07/2010 11:32, Jean wrote:
> Hi Sassy,
> thanks so much for your quick response. I retryied from scratch making sure I got the latest from git though after compiling it's still not alpha 13
> I actually get this version:
> Version 4.0.0alpha12-GIT-059ad34
> now the error I get is exactly the same. To answer your previous question, my Windows 2003 R2 64bit never had an Exchange 2003 version on it. It was started from a 2007 version from the start. If you would like to have a look and  maybe be able to see for yourself with all the debug levels you need, I can arrange for you a teamviewer session at any time convienient for you. Let me know.
> Thanks
> From: Sassy Natan
> Sent: Monday, July 26, 2010 5:28 AM
> To: Jean
> Cc: samba-technical at
> Subject: Re: joining a a DC via vampire fails
> Hi Jean
> Did u pull out the latest git version?
> If u using amb64 and ubuntu 10.04 then u can get all samba4 deb file from
> I know jelmer just ship a alpha13 release for debian, but I hadn't had the chance yet to check it out.
> net vampire replication between Windows 2003 R2 release works great with samab4. I did it several times without any problem.
> I wonder if u had Exchange 2003 before installation Exchange  2007?
> If so it could be interesting to check it also in my env...
> Can u drop a comment on this please...?
> Sassy
> On Sun, Jul 25, 2010 at 5:05 PM, Jean<i_cute33 at>  wrote:
>    Dear developers,
>    first of all big thanks for such a fantastic endeavour. So far I've only been able to build a DC in ubuntu with Samba4.  Even though it took me like 11 days to get there, and figure out all the things that I needed fixed correctly, once it started it was working great for me. Of course not all the features of AD yet, but I will be more happy to have it run already like it is.
>    My problem is when I try to join an AD DC in windows 2003, is it because of the Exchange 2007 objects in it? I can't really put a finger on where things go wrong. Here is a paste of what I did in the terminal:
>    root at babi:/home/babigeneric/samba-master/source4# bin/net vampire -Uadministrator
>    Password for [PASSIONITE.COM\administrator]:
>    CLDAP response: netbios=RSS01 server_site=Default-First-Site-Name  client_site=Default-First-Site-Name
>    Become DC [BABI] of Domain[RSS01]/[]
>    Promotion Partner is Server[] from Site[Default-First-Site-Name]
>    Options:crossRef behavior_version[0]
>     schema object_version[31]
>     domain behavior_version[2]
>     domain w2k3_update_revision[8]
>    DsAddEntry (R3) failed: Errors: dir_err = 6, status = WERR_BADFID;
>     Update Error: extended_err = WERR_DS_OBJ_STRING_NAME_EXISTS, problem = 0x00001775
>    libnet_BecomeDC() failed - NT_STATUS_INVALID_HANDLE
>    Traceback (most recent call last):
>     File "bin/python/samba/netcmd/", line 99, in _run
>       return*args, **kwargs)
>     File "bin/python/samba/netcmd/", line 51, in run
>       (domain_name, domain_sid) = net.vampire(domain=domain, target_dir=target_dir)
>    Can someone help me with this please or point me to a good source for getting help. Thank you in advance, and thumbs up on the continuous development of Samba4.
>    Ivan

Matthieu Patou
Samba Team

More information about the samba-technical mailing list