diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-03-18 07:33:26 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2004-03-18 07:33:26 +0000 |
commit | 38cbf8f61ca8c57efc6f1a97e7f145f0103fdced (patch) | |
tree | 9922877de53087dc8b8c7f0189f4d88ecbf4855e | |
parent | 0eccc18d0c1b02b1b71a0c8d72a0c8833279c60f (diff) | |
download | samba-38cbf8f61ca8c57efc6f1a97e7f145f0103fdced.tar.gz samba-38cbf8f61ca8c57efc6f1a97e7f145f0103fdced.tar.bz2 samba-38cbf8f61ca8c57efc6f1a97e7f145f0103fdced.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
(This used to be commit 1f2dd3a4559a6ba043fcfecb069d41f40656cc7d)
-rw-r--r-- | source3/utils/net.c | 3 | ||||
-rw-r--r-- | source3/utils/net_rpc.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index fcc8b4abe1..e4484488b6 100644 --- a/source3/utils/net.c +++ b/source3/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/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 46835d080d..afb94a616a 100644 --- a/source3/utils/net_rpc.c +++ b/source3/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; } |