Two little annoyances:
authorVolker Lendecke <vlendec@samba.org>
Thu, 18 Mar 2004 07:33:26 +0000 (07:33 +0000)
committerVolker Lendecke <vlendec@samba.org>
Thu, 18 Mar 2004 07:33:26 +0000 (07:33 +0000)
net rpc did not inform you if no smbd is running.

I never liked the error message (!) Success! when we established a trust.

Volker

source/utils/net.c
source/utils/net_rpc.c

index fcc8b4abe1d8a6adc0eeacc8cab7f9ff9f40e3ee..e4484488b61d7a390988512cd2bbef668369639c 100644 (file)
@@ -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 */
 
index 46835d080d2216c57750b97c9a61879ed5d9dba3..afb94a616a3ff133decd7365869bd3fe9f066efb 100644 (file)
@@ -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;
 }