summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-09 00:46:17 +0200
committerGünther Deschner <gd@samba.org>2009-05-09 00:51:04 +0200
commita3873bca516e0f89302409c89910561707360d14 (patch)
tree9e386a0c75d072f2a81b96c6106541afe6566fd7 /source4/torture
parenta21bfc4daff9e67750021d96ffa0c1e6e4cd3472 (diff)
downloadsamba-a3873bca516e0f89302409c89910561707360d14.tar.gz
samba-a3873bca516e0f89302409c89910561707360d14.tar.bz2
samba-a3873bca516e0f89302409c89910561707360d14.zip
s4-smbtorture: avoid secdesc test on connect handle in RPC-SAMR-USERS for Samba3.
With this, I think, we pass RPC-SAMR-USERS. Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/samr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index aa13acf444..6327985b41 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -6012,7 +6012,9 @@ bool torture_rpc_samr_users(struct torture_context *torture)
ret &= test_Connect(p, torture, &handle);
- ret &= test_QuerySecurity(p, torture, &handle);
+ if (!torture_setting_bool(torture, "samba3", false)) {
+ ret &= test_QuerySecurity(p, torture, &handle);
+ }
ret &= test_EnumDomains(p, torture, &handle, TORTURE_SAMR_USER_ATTRIBUTES, NULL);