summaryrefslogtreecommitdiffstats
path: root/source/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-03-18 07:32:15 +0000
committerVolker Lendecke <vlendec@samba.org>2004-03-18 07:32:15 +0000
commit4191a434d48065a75f38752c4aa27219f36d602b (patch)
tree9db1d7169429812b438b3d3c8964eaac6642673a /source/utils
parent74de9a61407e6c5a15fc7becca085a1d40199080 (diff)
downloadsamba-4191a434d48065a75f38752c4aa27219f36d602b.tar.gz
samba-4191a434d48065a75f38752c4aa27219f36d602b.tar.xz
samba-4191a434d48065a75f38752c4aa27219f36d602b.zip
Two little annoyances:
net rpc did not inform you if no smbd is running. I never liked the error message (!) Success! when we established a trust. Volker
Diffstat (limited to 'source/utils')
-rw-r--r--source/utils/net.c3
-rw-r--r--source/utils/net_rpc.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/source/utils/net.c b/source/utils/net.c
index 8004ced43eb..f6d6de0a74f 100644
--- a/source/utils/net.c
+++ b/source/utils/net.c
@@ -150,8 +150,7 @@ NTSTATUS connect_to_ipc(struct cli_state **c, struct in_addr *server_ip,
if (NT_STATUS_IS_OK(nt_status)) {
return nt_status;
} else {
- DEBUG(1,("Cannot connect to server. Error was %s\n",
- nt_errstr(nt_status)));
+ d_printf("Could not connect to server %s\n", server_name);
/* Display a nicer message depending on the result */
diff --git a/source/utils/net_rpc.c b/source/utils/net_rpc.c
index 46835d080d2..afb94a616a3 100644
--- a/source/utils/net_rpc.c
+++ b/source/utils/net_rpc.c
@@ -2915,7 +2915,7 @@ static int rpc_trustdom_establish(int argc, const char **argv)
talloc_destroy(mem_ctx);
- DEBUG(0, ("Success!\n"));
+ d_printf("Trust to domain %s established\n", domain_name);
return 0;
}