1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4:libnet_vampire: setup base_dn on the self_made_schema

metze
This commit is contained in:
Stefan Metzmacher 2011-11-14 09:16:58 +01:00
parent b33c711851
commit 6d3558a8f6

View File

@ -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);