From 2de07761e071ccf09c0ea9e0fdc6a61303356549 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 16 Mar 2010 14:52:39 +1100 Subject: s4:dsdb Change dsdb_get_schema() callers to use new talloc argument This choses an appropriate talloc context to attach the schema too, long enough lived to ensure it does not go away before the operation compleates. Andrew Bartlett --- source4/torture/rpc/dssync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/rpc/dssync.c') 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; -- cgit