git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c85884e
)
s4:torture/rpc/dsgetinfo.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE instead...
author
Stefan Metzmacher
<metze@samba.org>
Tue, 13 Apr 2010 19:48:36 +0000
(21:48 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 15 Apr 2010 07:34:06 +0000
(09:34 +0200)
metze
source4/torture/rpc/dsgetinfo.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/dsgetinfo.c
b/source4/torture/rpc/dsgetinfo.c
index 31ab7d075d10cecd2758887c37972dad57aa4bd2..7d210229d81c3f105b68e44488d96f553a166dad 100644
(file)
--- a/
source4/torture/rpc/dsgetinfo.c
+++ b/
source4/torture/rpc/dsgetinfo.c
@@
-342,7
+342,7
@@
static bool test_getinfo(struct torture_context *tctx,
r.out.info_type = &info_type;
status = dcerpc_drsuapi_DsReplicaGetInfo_r(b, tctx, &r);
- 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);