diff options
author | Günther Deschner <gd@samba.org> | 2009-11-03 11:46:07 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-11-03 22:18:09 +0100 |
commit | a8de4f091ef10223e862b3cb6f0b9e5cef5cde2a (patch) | |
tree | ff66fc3a3c8866d8114c7fb36ee0f69f7f0db78c /source4/torture | |
parent | 58d401bb212b43d05213514f8bb2efa850d4e5c9 (diff) | |
download | samba-a8de4f091ef10223e862b3cb6f0b9e5cef5cde2a.tar.gz samba-a8de4f091ef10223e862b3cb6f0b9e5cef5cde2a.tar.bz2 samba-a8de4f091ef10223e862b3cb6f0b9e5cef5cde2a.zip |
s4-smbtorture: skip three info levels while testing s3 with RPC-LSA.
These are only supported by s3 when running pdb_ads atm.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/lsa.c | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c index 76b693f052..cff42a2aab 100644 --- a/source4/torture/rpc/lsa.c +++ b/source4/torture/rpc/lsa.c @@ -2536,9 +2536,6 @@ static bool test_QueryInfoPolicyCalls( bool version2, break; case LSA_POLICY_INFO_DOMAIN: case LSA_POLICY_INFO_ACCOUNT_DOMAIN: - case LSA_POLICY_INFO_L_ACCOUNT_DOMAIN: - case LSA_POLICY_INFO_DNS_INT: - case LSA_POLICY_INFO_DNS: case LSA_POLICY_INFO_REPLICA: case LSA_POLICY_INFO_QUOTA: case LSA_POLICY_INFO_ROLE: @@ -2550,6 +2547,20 @@ static bool test_QueryInfoPolicyCalls( bool version2, ret = false; } break; + case LSA_POLICY_INFO_L_ACCOUNT_DOMAIN: + case LSA_POLICY_INFO_DNS_INT: + case LSA_POLICY_INFO_DNS: + if (torture_setting_bool(tctx, "samba3", false)) { + /* Other levels not implemented yet */ + if (!NT_STATUS_EQUAL(status, NT_STATUS_INVALID_INFO_CLASS)) { + torture_comment(tctx, "%s failed - %s\n", call, nt_errstr(status)); + ret = false; + } + } else if (!NT_STATUS_IS_OK(status)) { + torture_comment(tctx, "%s failed - %s\n", call, nt_errstr(status)); + ret = false; + } + break; default: if (torture_setting_bool(tctx, "samba4", false)) { /* Other levels not implemented yet */ |