r26238: Add a loadparm context parameter to torture_context, remove more uses of...
[samba.git] / source4 / torture / ldap / schema.c
index 9d9195bb9d7625a3672f5f69dbd45f32885beda8..4cfce11eb5b0cacff204075a7d86685766c69d11 100644 (file)
@@ -376,7 +376,7 @@ bool torture_ldap_schema(struct torture_context *torture)
 
        url = talloc_asprintf(torture, "ldap://%s/", host);
 
-       ldb = ldb_wrap_connect(torture, global_loadparm, url,
+       ldb = ldb_wrap_connect(torture, torture->lp_ctx, url,
                               NULL,
                               cmdline_credentials,
                               0, NULL);