If we can't connect, make sure its a level 0 so we see it, and the reason.
authorAndrew Bartlett <abartlet@samba.org>
Sat, 20 Jul 2002 08:59:58 +0000 (08:59 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 20 Jul 2002 08:59:58 +0000 (08:59 +0000)
(This used to be commit 6129718bea458ceb7669ecabc8cf0c8f908c7074)

source3/rpcclient/rpcclient.c

index a62c3d83653548c21ebf0d8cbd1c753528c75dfd..15e7c380022d8ffa2694528de9bdcde2e0d536d1 100644 (file)
@@ -768,7 +768,7 @@ static void usage(void)
                                        password, 0);
        
        if (!NT_STATUS_IS_OK(nt_status)) {
-               DEBUG(1,("Cannot connect to server.  Error was %s\n", nt_errstr(nt_status)));
+               DEBUG(0,("Cannot connect to server.  Error was %s\n", nt_errstr(nt_status)));
                return 1;
        }