summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/libnet/libnet_BecomeDC.c5
1 files changed, 5 insertions, 0 deletions
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) {