libnet_BecomeDC() failed - NT code 0xc00020ee

Anatoliy Atanasov anatoliy.atanasov at postpath.com
Wed Apr 7 08:24:39 MDT 2010


Hi list,

bin/net vampire fails in my setup too with different error:

DsAddEntry (R3) failed: Errors: dir_err = 0, status = WERR_OK;ldb_msg_new(@ROOTDSE) failed
Vampire of domain failed: NT_STATUS_NO_MEMORY

The memory of the system is OK, after the call to libnet_BecomeDC the vampire_state s looks like this:
$3 = {netbios_name = 0x0, join = 0x89d9820, machine_account = 0x0, self_made_schema = 0x0, schema = 0x0, ldb = 0x0, 
 schema_part = {object_count = 0, first_object = 0x0, last_object = 0x0}, targetdir = 0x0, lp_ctx = 0x890bca8, 
 event_ctx = 0x88c6218, total_objects = 0, last_partition = 0x0}

ldb is 0 hence the call ldb_dn_new(msg, s->ldb, "@ROOTDSE"); returns an error.

I am still searching for the problem.

Regards,
Anatoliy


 > bin/net vampire samba.example.com -Uadministrator 
--realm=samba.example.com'

as explained on http://wiki.samba.org/index.php/Samba4_joining_a_domain ?

Options:crossRef behavior_version[2]
      schema object_version[47]
      domain behavior_version[2]
      domain w2k3_update_revision[8]
libnet_BecomeDC() failed - NT code 0xc00020ee
Vampire of domain failed: NT code 0xc00020ee
return code = -1

Eric Desgranges
eric at vcardprocessor.com





More information about the samba-technical mailing list