joining a a DC via vampire fails

Kamen Mazdrashki kamenim at samba.org
Mon Aug 2 19:53:09 MDT 2010


Hi Ivan,

Have you resolved your issue with 'net vampire'?

If not, could you please make another log with latest samba tree?
Other info I'am interested in is the output from following test against you
win box:
bin/smbtorture -UAdministrator ncacn_ip_tcp:{you_win_box_ip}[print]
RPC-DSSYNC
--option="dssync:partition=CN=Schema,CN=Configuration,DC=samba,DC=devel" -d1

Thanks,
Kamen


On Tue, Jul 27, 2010 at 00:12, Jean Cute33 <i_cute33 at hotmail.com> wrote:

>
> Hi again Matthieu and Sassy,
>
> I started everything from scratch, and what I seem to be noticing is that
> Samba4 successfully adds the machine as a computer in AD, but then further
> down the line it breaks at
>
> Schema for DRS tests using python
> ERROR: no subClassOf for 'msExchOWAVirtualDirectory'
>
> (I am suspecting here that some Exchange objects are crashing the
> vampire-ing).
>
> The error log in that I sent previously is actually what happens if I was
> to retry now a new vampire, with a Samba4 that uses the same hostname. It
> looks like samba4 leaves in AD some traces uncleaned after failing...
>
> If i run repadmin /kcc on the Win 2003 R2 64bit server it says consistency
> check successful.
>
> I can arrange at your convienience a teamviewer session, just let me know
> when is the best for you.
>
> Thanks again,
>
> Ivan
>
>
> > Date: Mon, 26 Jul 2010 11:56:37 +0400
> > From: mat at samba.org
> > To: samba-technical at lists.samba.org
> > Subject: Re: joining a a DC via vampire fails
> >
> >   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
> >
> > ie.
> >
> > bin/net vampire passionite.com -Uadministrator --realm=passionite.com -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.
> >
> > Matthieu.
> >
> >
> > 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 lists.samba.org
> > > 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 http://sourceforge.net/projects/openchange/files/
> > > 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 hotmail.com>  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
> passionite.com -Uadministrator --realm=passionite.com
> > >    Password for [PASSIONITE.COM\administrator]:
> > >    CLDAP response: forest=passionite.com dns=passionite.comnetbios=RSS01 server_site=Default-First-Site-Name
>  client_site=Default-First-Site-Name
> > >    Become DC [BABI] of Domain[RSS01]/[passionite.com]
> > >    Promotion Partner is Server[maat.passionite.com] 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/__init__.py", line 99, in _run
> > >       return self.run(*args, **kwargs)
> > >     File "bin/python/samba/netcmd/vampire.py", line 51, in run
> > >       (domain_name, domain_sid) = net.vampire(domain=domain,
> target_dir=target_dir)
> > >    RuntimeError: NT_STATUS_INVALID_HANDLE
> > >
> > >    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        http://samba.org
> >
>
>


More information about the samba-technical mailing list