summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-04-12 14:12:30 +0200
committerStefan Metzmacher <metze@samba.org>2010-04-15 09:34:05 +0200
commit6f4218a4aa097c3b89224bd3cba2d9d2649f28d5 (patch)
tree723ace51a3ca469bb8ff7bfb8984c1b89b63d979 /source4
parent1864cd8fa79cf109460516973c67e785fd0a7644 (diff)
downloadsamba-6f4218a4aa097c3b89224bd3cba2d9d2649f28d5.tar.gz
samba-6f4218a4aa097c3b89224bd3cba2d9d2649f28d5.tar.bz2
samba-6f4218a4aa097c3b89224bd3cba2d9d2649f28d5.zip
s4:torture/rpc/drsuapi.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE instead of DCERPC_FAULT_INVALID_TAG
metze
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/drsuapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/drsuapi.c b/source4/torture/rpc/drsuapi.c
index a76ecabf22..105af1cab2 100644
--- a/source4/torture/rpc/drsuapi.c
+++ b/source4/torture/rpc/drsuapi.c
@@ -378,7 +378,7 @@ static bool test_DsReplicaGetInfo(struct torture_context *tctx,
status = dcerpc_drsuapi_DsReplicaGetInfo_r(p->binding_handle, tctx, &r);
torture_drsuapi_assert_call(tctx, p, status, &r, "dcerpc_drsuapi_DsReplicaGetInfo");
- if (!NT_STATUS_IS_OK(status) && p->last_fault_code == DCERPC_FAULT_INVALID_TAG) {
+ if (NT_STATUS_EQUAL(status, NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE)) {
torture_comment(tctx,
"DsReplicaGetInfo level %d and/or infotype %d not supported by server\n",
array[i].level, array[i].infotype);