1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4:torture: Print account and authority name

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
This commit is contained in:
Andreas Schneider 2019-07-18 14:18:57 +02:00 committed by Andreas Schneider
parent 3abd92d782
commit 9596eefbd5

View File

@ -4914,6 +4914,11 @@ static bool test_GetUserName(struct dcerpc_binding_handle *b,
torture_assert_not_null(tctx, r.out.authority_name, "r.out.authority_name");
torture_assert_not_null(tctx, *r.out.authority_name, "*r.out.authority_name");
torture_comment(tctx,
"Account Name: %s, Authority Name: %s\n",
(*r.out.account_name)->string,
(*r.out.authority_name)->string);
return true;
}