]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:torture: Print account and authority name
authorAndreas Schneider <asn@samba.org>
Thu, 18 Jul 2019 12:18:57 +0000 (14:18 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 29 Apr 2020 10:15:28 +0000 (10:15 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source4/torture/rpc/lsa.c

index 548ebf8a09083f6e23724ba16a48649fb4dc15bc..c342b4e67e669a308ca73b43373e746e841ef75b 100644 (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;
 }