summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_netlogon.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/source3/rpcclient/cmd_netlogon.c b/source3/rpcclient/cmd_netlogon.c
index 8e65e9a7b5..2c8514b43e 100644
--- a/source3/rpcclient/cmd_netlogon.c
+++ b/source3/rpcclient/cmd_netlogon.c
@@ -127,13 +127,7 @@ void cmd_netlogon_login_test(struct client_info *info)
/* close the session */
cli_nt_session_close(smb_cli);
- if (res)
- {
- DEBUG(5,("cmd_nt_login: login test succeeded\n"));
- }
- else
- {
- DEBUG(5,("cmd_nt_login: login test failed\n"));
- }
+ fprintf(out_hnd,"cmd_nt_login: login (%s) test succeeded: %s\n",
+ nt_user_name, BOOLSTR(res));
}