From 9596eefbd5e7fe7fab8384656eb302fec7a8d355 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 18 Jul 2019 14:18:57 +0200 Subject: [PATCH] s4:torture: Print account and authority name Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher Reviewed-by: Guenther Deschner --- source4/torture/rpc/lsa.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c index 548ebf8a090..c342b4e67e6 100644 --- a/source4/torture/rpc/lsa.c +++ b/source4/torture/rpc/lsa.c @@ -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; } -- 2.47.3