mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4:libnet_vampire: setup base_dn on the self_made_schema
metze
This commit is contained in:
parent
b33c711851
commit
6d3558a8f6
@ -592,6 +592,11 @@ NTSTATUS libnet_vampire_cb_schema_chunk(void *private_data,
|
||||
s->self_made_schema = dsdb_new_schema(s);
|
||||
NT_STATUS_HAVE_NO_MEMORY(s->self_made_schema);
|
||||
|
||||
s->self_made_schema->base_dn = ldb_dn_new(s->self_made_schema,
|
||||
s->ldb,
|
||||
c->forest->schema_dn_str);
|
||||
NT_STATUS_HAVE_NO_MEMORY(s->self_made_schema->base_dn);
|
||||
|
||||
status = dsdb_load_prefixmap_from_drsuapi(s->self_made_schema, mapping_ctr);
|
||||
if (!W_ERROR_IS_OK(status)) {
|
||||
return werror_to_ntstatus(status);
|
||||
|
Loading…
Reference in New Issue
Block a user