Vampire procedure fails

Matthias Dieter Wallnöfer mdw at
Tue Jun 8 09:06:38 MDT 2010

Hi Zahari,

well, every time when we add some stricter constraint checking something 
might fail. Here it's exactly like this.
I really don't know much about the vampire process, so maybe someone can 
help to fix this: on the normal provision we import the schema, load it 
and only then the "objectclass_attrs" module does work. How it works on 
a vampire? Could we already have a schema when we load another one?
If this is true and not changeable then the only fix would be to 
deactivate the attribute constraint checking when the "relax" flag is 


Zahari Zahariev wrote:
> Hi Matthias,
> The exact error is:
> Analyze and apply schema objects
> Failed to find our own NTDS Settings invocationId in the ldb!
> Replicated 1272 objects (0 linked attributes) for 
> CN=Schema,CN=Configuration,DC=autorepl1,DC=test
> Failed to find our own NTDS Settings invocationId in the ldb!
> Failed to add prefixMap and schemaInfo Object class violation: 
> objectclass_attrs: attribute 'objectClass' on entry 
> 'CN=Schema,CN=Configuration,DC=autorepl1,DC=test' does not exist in 
> the specified objectclasses!
> libnet_BecomeDC() failed - NT_STATUS_UNSUCCESSFUL
> 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)
> On Tue, Jun 8, 2010 at 1:16 PM, Zahari Zahariev 
> <zahari.zahariev at <mailto:zahari.zahariev at>> wrote:
>     Hello Mathias,
>     Since yesterday I have set up locally a automatic vampire test
>     that clones samba4, compiles reverts virtual windows 2003 and then
>     vampires it (the windows server). Everything was working just fine
>     when around 4-5 pm it started to produce an error in the end of
>     the vampire cycle. I have noticed that you've committed
>     substantial amount of work and some of it very much resembles a
>     connection with the error I get. Can you take a look and tell me
>     if you see something familiar?
>     Please find the attached log from my automated vampire script.
>     Thanks!

More information about the samba-technical mailing list