summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-12-04 12:46:30 +0100
committerStefan Metzmacher <metze@samba.org>2008-12-04 12:48:44 +0100
commite9d1c3e7eab7cbc14fa54d7df1ae7da52d483a7c (patch)
treef081dbed1bfb2a66b77273101bcbb9b2aa3d394c /source4
parent9d44600470e2f2444a09d91d5d6b36515454c919 (diff)
downloadsamba-e9d1c3e7eab7cbc14fa54d7df1ae7da52d483a7c.tar.gz
samba-e9d1c3e7eab7cbc14fa54d7df1ae7da52d483a7c.tar.bz2
samba-e9d1c3e7eab7cbc14fa54d7df1ae7da52d483a7c.zip
RAW-NETLOGON: check netr_GetAnyDCName() result
metze
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/netlogon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c
index 953f9d126d..5fb36079d6 100644
--- a/source4/torture/rpc/netlogon.c
+++ b/source4/torture/rpc/netlogon.c
@@ -1523,6 +1523,7 @@ static bool test_GetAnyDCName(struct torture_context *tctx,
status = dcerpc_netr_GetAnyDCName(p, tctx, &r);
torture_assert_ntstatus_ok(tctx, status, "GetAnyDCName");
+ torture_assert_werr_ok(tctx, r.out.result, "GetAnyDCName");
if (dcname) {
torture_comment(tctx, "\tDC is at '%s'\n", dcname);