git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c3ccf7
)
Display some errors if the initial connection to the server could not be
author
Tim Potter
<tpot@samba.org>
Tue, 30 Oct 2001 04:21:53 +0000
(
04:21
+0000)
committer
Tim Potter
<tpot@samba.org>
Tue, 30 Oct 2001 04:21:53 +0000
(
04:21
+0000)
made.
(This used to be commit
c3f5df8d6743bb7b48118b378f23268008e74145
)
source3/rpcclient/rpcclient.c
patch
|
blob
|
history
diff --git
a/source3/rpcclient/rpcclient.c
b/source3/rpcclient/rpcclient.c
index be1be0fd51a38db368e7eeab3cc91f5eaedf9ca2..66e84fc1a936d44ecc2b1fb3ea6017d6d8fb5d4a 100644
(file)
--- 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;
}