Make up the right dependencies now that ldb depends on libevents
[ira/wip.git] / source4 / torture / rpc / drsuapi.c
index 5e01c2050c1d3ea29a76c2838e681bc6a9d64255..bbdb73ed558eaa8de69796b2e32d54ecd6bb0274 100644 (file)
@@ -709,7 +709,7 @@ bool torture_rpc_drsuapi(struct torture_context *torture)
                                        &p, 
                                        &ndr_table_drsuapi);
        if (!NT_STATUS_IS_OK(status)) {
-               torture_leave_domain(priv.join);
+               torture_leave_domain(torture, priv.join);
                torture_fail(torture, "Unable to connect to DRSUAPI pipe");
        }
 
@@ -733,7 +733,7 @@ bool torture_rpc_drsuapi(struct torture_context *torture)
 
        ret &= test_DsUnbind(p, torture, &priv);
 
-       torture_leave_domain(priv.join);
+       torture_leave_domain(torture, priv.join);
 
        return ret;
 }
@@ -761,7 +761,7 @@ bool torture_rpc_drsuapi_cracknames(struct torture_context *torture)
                                        &p, 
                                        &ndr_table_drsuapi);
        if (!NT_STATUS_IS_OK(status)) {
-               torture_leave_domain(priv.join);
+               torture_leave_domain(torture, priv.join);
                torture_fail(torture, "Unable to connect to DRSUAPI pipe");
        }
 
@@ -776,7 +776,7 @@ bool torture_rpc_drsuapi_cracknames(struct torture_context *torture)
                ret &= test_DsUnbind(p, torture, &priv);
        }
 
-       torture_leave_domain(priv.join);
+       torture_leave_domain(torture, priv.join);
 
        return ret;
 }