rpcclient: Print number of entries for NetSessEnum
authorChristof Schmitt <cs@samba.org>
Tue, 24 Apr 2018 19:18:49 +0000 (12:18 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 7 May 2018 07:56:11 +0000 (09:56 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13407

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 501819fa9e7926c2f54cb92d508ac0e8437fd476)

source3/rpcclient/cmd_srvsvc.c

index e7929e7259ce338f3164ca4e43bd2170e08feb2b..f78fb9a135d2305b51737bd0e23ff09207568e46 100644 (file)
@@ -883,6 +883,8 @@ static WERROR cmd_srvsvc_net_sess_enum(struct rpc_pipe_client *cli,
                goto done;
        }
 
+       d_printf("Received %d entries.\n", total_entries);
+
  done:
        return result;
 }