diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/libnet/libnet_BecomeDC.c | 6 | ||||
-rw-r--r-- | source4/torture/rpc/dssync.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/libnet/libnet_BecomeDC.c b/source4/torture/libnet/libnet_BecomeDC.c index 1271d2c8d3..562be4fc39 100644 --- a/source4/torture/libnet/libnet_BecomeDC.c +++ b/source4/torture/libnet/libnet_BecomeDC.c @@ -257,7 +257,7 @@ static NTSTATUS test_apply_schema(struct test_become_dc_state *s, } /* we don't want to access the self made schema anymore */ s->self_made_schema = NULL; - s->schema = dsdb_get_schema(s->ldb); + s->schema = dsdb_get_schema(s->ldb, s); status = dsdb_extended_replicated_objects_convert(s->ldb, c->partition->nc.dn, @@ -345,7 +345,7 @@ static NTSTATUS test_apply_schema(struct test_become_dc_state *s, return NT_STATUS_FOOBAR; } - s->schema = dsdb_get_schema(s->ldb); + s->schema = dsdb_get_schema(s->ldb, s); if (!s->schema) { DEBUG(0,("Failed to get loaded dsdb_schema\n")); return NT_STATUS_FOOBAR; @@ -675,7 +675,7 @@ bool torture_net_become_dc(struct torture_context *torture) talloc_asprintf(torture, "Failed to open '%s'\n", sam_ldb_path)); - s->schema = dsdb_get_schema(s->ldb); + s->schema = dsdb_get_schema(s->ldb, s); torture_assert_int_equal_goto(torture, (s->schema?1:0), 1, ret, cleanup, "Failed to get loaded dsdb_schema\n"); diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c index 3918bdd24d..406b76e5b1 100644 --- a/source4/torture/rpc/dssync.c +++ b/source4/torture/rpc/dssync.c @@ -406,7 +406,7 @@ static bool test_analyse_objects(struct torture_context *tctx, struct ldb_extended_dn_control *extended_dn_ctrl; const char *err_msg; - if (!dsdb_get_schema(ldb)) { + if (!dsdb_get_schema(ldb, NULL)) { struct dsdb_schema *ldap_schema; struct ldb_result *a_res; struct ldb_result *c_res; |