mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
RAW-NETLOGON: check netr_GetAnyDCName() result
metze
This commit is contained in:
parent
9d44600470
commit
e9d1c3e7ea
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user