summaryrefslogtreecommitdiff
path: root/source4/torture/libnet
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-12-28 12:50:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:30:20 -0500
commit6a75d272fcbc5fdcd5c2223055e4b50b1ff024bc (patch)
tree86e2aa269ce5f30b5781b5341199fdd563d3cf77 /source4/torture/libnet
parent58388f70907be71280e712f271c7596474efeacf (diff)
downloadsamba-6a75d272fcbc5fdcd5c2223055e4b50b1ff024bc.tar.gz
samba-6a75d272fcbc5fdcd5c2223055e4b50b1ff024bc.tar.bz2
samba-6a75d272fcbc5fdcd5c2223055e4b50b1ff024bc.zip
r20380: verify the incoming schema info and oid mappings
metze (This used to be commit 27193e4b3d7d43e6fee6f35094ab60ff2531a474)
Diffstat (limited to 'source4/torture/libnet')
-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) {