From a3873bca516e0f89302409c89910561707360d14 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sat, 9 May 2009 00:46:17 +0200 Subject: s4-smbtorture: avoid secdesc test on connect handle in RPC-SAMR-USERS for Samba3. With this, I think, we pass RPC-SAMR-USERS. Guenther --- source4/torture/rpc/samr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4') 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); -- cgit