mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s4-smbtorture: skip three info levels while testing s3 with RPC-LSA.
These are only supported by s3 when running pdb_ads atm. Guenther
This commit is contained in:
parent
58d401bb21
commit
a8de4f091e
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user