summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/rpc/winreg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c
index 93be45d25f..5f1a66b985 100644
--- a/source4/torture/rpc/winreg.c
+++ b/source4/torture/rpc/winreg.c
@@ -87,6 +87,10 @@ static bool test_NotifyChangeKeyValue(struct dcerpc_pipe *p,
init_winreg_String(&r.in.string1, NULL);
init_winreg_String(&r.in.string2, NULL);
+ if (torture_setting_bool(tctx, "samba3", false)) {
+ torture_skip(tctx, "skipping NotifyChangeKeyValue test against Samba 3");
+ }
+
torture_assert_ntstatus_ok(tctx,
dcerpc_winreg_NotifyChangeKeyValue(p, tctx, &r),
"NotifyChangeKeyValue failed");