From 6a75d272fcbc5fdcd5c2223055e4b50b1ff024bc Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 28 Dec 2006 12:50:39 +0000 Subject: r20380: verify the incoming schema info and oid mappings metze (This used to be commit 27193e4b3d7d43e6fee6f35094ab60ff2531a474) --- source4/torture/libnet/libnet_BecomeDC.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/torture') diff --git a/source4/torture/libnet/libnet_BecomeDC.c b/source4/torture/libnet/libnet_BecomeDC.c index 323751f11b..fa0cfe29bf 100644 --- a/source4/torture/libnet/libnet_BecomeDC.c +++ b/source4/torture/libnet/libnet_BecomeDC.c @@ -129,6 +129,11 @@ static NTSTATUS test_become_dc_schema_chunk(void *private_data, if (!W_ERROR_IS_OK(status)) { return werror_to_ntstatus(status); } + } else { + status = dsdb_verify_oid_mappings(s->schema, mapping_ctr); + if (!W_ERROR_IS_OK(status)) { + return werror_to_ntstatus(status); + } } for (cur = first_object; cur; cur = cur->next_object) { -- cgit