Specify event_context to ldb_wrap_connect explicitly.
[bbaumbach/samba-autobuild/.git] / source4 / torture / ldap / schema.c
index 4cfce11eb5b0cacff204075a7d86685766c69d11..8437e7f79db13af5652b04815df1e48fa7b8eae8 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, torture->lp_ctx, url,
+       ldb = ldb_wrap_connect(torture, torture->ev, torture->lp_ctx, url,
                               NULL,
                               cmdline_credentials,
                               0, NULL);