From: Andrew Tridgell Date: Fri, 28 Jun 2002 03:51:31 +0000 (+0000) Subject: make net join a bit less verbose X-Git-Tag: samba-3.0.0alpha18~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abc2aed26c6cb12a86987a3846ca5c9f7df9a5ae;p=thirdparty%2Fsamba.git make net join a bit less verbose these errors happen all the time, so they shouldn't be level 0 --- diff --git a/source/libsmb/cli_netlogon.c b/source/libsmb/cli_netlogon.c index 765f19a5fe7..4f5ccb1e210 100644 --- a/source/libsmb/cli_netlogon.c +++ b/source/libsmb/cli_netlogon.c @@ -197,7 +197,7 @@ NTSTATUS new_cli_nt_setup_creds(struct cli_state *cli, result = new_cli_net_auth2(cli, sec_chan, 0x000001ff, &srv_chal); if (!NT_STATUS_IS_OK(result)) { - DEBUG(0,("cli_nt_setup_creds: auth2 challenge failed %s\n", + DEBUG(1,("cli_nt_setup_creds: auth2 challenge failed %s\n", nt_errstr(result))); } diff --git a/source/libsmb/trust_passwd.c b/source/libsmb/trust_passwd.c index 7491f15f523..3b77f7330eb 100644 --- a/source/libsmb/trust_passwd.c +++ b/source/libsmb/trust_passwd.c @@ -39,7 +39,7 @@ static NTSTATUS just_change_the_password(struct cli_state *cli, TALLOC_CTX *mem_ SEC_CHAN_WKSTA : SEC_CHAN_BDC, orig_trust_passwd_hash); if (!NT_STATUS_IS_OK(result)) { - DEBUG(0,("just_change_the_password: unable to setup creds (%s)!\n", + DEBUG(1,("just_change_the_password: unable to setup creds (%s)!\n", nt_errstr(result))); return result; } diff --git a/source/utils/net_rpc.c b/source/utils/net_rpc.c index 344b8000ed5..b202a7e8cc6 100644 --- a/source/utils/net_rpc.c +++ b/source/utils/net_rpc.c @@ -147,7 +147,7 @@ static int run_rpc_command(const char *pipe_name, int conn_flags, nt_status = fn(domain_sid, cli, mem_ctx, argc, argv); if (!NT_STATUS_IS_OK(nt_status)) { - DEBUG(0, ("rpc command function failed! (%s)\n", nt_errstr(nt_status))); + DEBUG(1, ("rpc command function failed! (%s)\n", nt_errstr(nt_status))); } else { DEBUG(5, ("rpc command function succedded\n")); }