summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-03-17 11:31:43 +0100
committerGünther Deschner <gd@samba.org>2010-03-17 11:48:52 +0100
commitd41b8c305342de0795dd49dac588b5c0b8f00bfe (patch)
tree713b75e07b1459eff3824cabd20df0728ea5d14a
parent3db9729240dedd74cdf3d404b68ac45ef0fe0bca (diff)
downloadsamba-d41b8c305342de0795dd49dac588b5c0b8f00bfe.tar.gz
samba-d41b8c305342de0795dd49dac588b5c0b8f00bfe.tar.bz2
samba-d41b8c305342de0795dd49dac588b5c0b8f00bfe.zip
s4-smbtorture: skip security descriptor tests against Samba in RPC-WINREG.
Guenther
-rw-r--r--source4/torture/rpc/winreg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c
index 2a26bcac52..14abd5158f 100644
--- a/source4/torture/rpc/winreg.c
+++ b/source4/torture/rpc/winreg.c
@@ -2359,6 +2359,11 @@ static bool test_key_base_sd(struct torture_context *tctx,
bool ret = true, created2 = false, created4 = false;
struct dcerpc_binding_handle *b = p->binding_handle;
+ if (torture_setting_bool(tctx, "samba3", false) ||
+ torture_setting_bool(tctx, "samba4", false)) {
+ torture_skip(tctx, "skipping security descriptor tests against Samba");
+ }
+
test_Cleanup(b, tctx, handle, TEST_KEY_BASE);
if (!test_CreateKey(b, tctx, handle, TEST_KEY_BASE, NULL)) {