s4-smbtorture: skip QueryInfoPolicy2 while running RPC-LSA against s3.
authorGünther Deschner <gd@samba.org>
Mon, 2 Nov 2009 19:11:14 +0000 (20:11 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 3 Nov 2009 21:17:05 +0000 (22:17 +0100)
This is only supported by s3 when running pdb_ads atm.

Guenther

source4/torture/rpc/lsa.c

index 76246525b2bc96ee29e2efc7c574df146bc14768..76b693f05205dec42b050de24adc2c69f64dbb7c 100644 (file)
@@ -2506,6 +2506,10 @@ static bool test_QueryInfoPolicyCalls(   bool version2,
 
        torture_comment(tctx, "\nTesting %s\n", call);
 
+       if (version2 && torture_setting_bool(tctx, "samba3", false)) {
+               torture_skip(tctx, "skipping QueryInfoPolicy2 tests\n");
+       }
+
        for (i=1;i<=14;i++) {
                r.in.handle = handle;
                r.in.level = i;