summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2015-12-12 00:15:45 +0100
committerJeremy Allison <jra@samba.org>2016-09-28 00:04:35 +0200
commit3487d6d78ff3bd469ff2069f2f4a18031ea4262f (patch)
tree59979b1777a77b9bf62b060473e5609b21bff205 /source4/torture
parent5ad3a95f46381a1b02f1d6cd42b298f86d7ff685 (diff)
downloadsamba-3487d6d78ff3bd469ff2069f2f4a18031ea4262f.tar.gz
werror: replace WERR_RPC_E_REMOTE_DISABLED with HRES_RPC_E_REMOTE_DISABLED
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/wkssvc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/wkssvc.c b/source4/torture/rpc/wkssvc.c
index e19523f172e..aebabac8d1e 100644
--- a/source4/torture/rpc/wkssvc.c
+++ b/source4/torture/rpc/wkssvc.c
@@ -653,7 +653,7 @@ static bool test_NetrValidateName2(struct torture_context *tctx,
torture_assert_ntstatus_ok(tctx, status,
"NetrValidateName2 failed");
torture_assert_werr_equal(tctx, r.out.result,
- WERR_RPC_E_REMOTE_DISABLED,
+ W_ERROR(HRES_ERROR_V(HRES_RPC_E_REMOTE_DISABLED)),
"NetrValidateName2 failed");
}
@@ -1113,7 +1113,7 @@ static bool test_NetrGetJoinableOus2(struct torture_context *tctx,
status = dcerpc_wkssvc_NetrGetJoinableOus2_r(b, tctx, &r);
torture_assert_ntstatus_ok(tctx, status, "NetrGetJoinableOus2 failed");
torture_assert_werr_equal(tctx, r.out.result,
- WERR_RPC_E_REMOTE_DISABLED,
+ W_ERROR(HRES_ERROR_V(HRES_RPC_E_REMOTE_DISABLED)),
"NetrGetJoinableOus2 failed");
return true;