diff options
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/rpcclient.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index be1be0fd51..66e84fc1a9 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -575,6 +575,7 @@ struct cli_state *setup_connection(struct cli_state *cli, char *system_name, /* Establish a SMB connection */ if (!resolve_srv_name(system_name, dest_host, &dest_ip)) { + fprintf(stderr, "Could not resolve %s\n", dest_host); return NULL; } @@ -583,6 +584,7 @@ struct cli_state *setup_connection(struct cli_state *cli, char *system_name, if (!cli_establish_connection(cli, dest_host, &dest_ip, &calling, &called, "IPC$", "IPC", False, True)) { + fprintf(stderr, "Error establishing IPC$ connection\n"); return NULL; } |