Increase debug level of "create_connection_server_info failed" message
authorVolker Lendecke <vl@samba.org>
Mon, 4 May 2009 10:36:13 +0000 (12:36 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 4 May 2009 10:41:54 +0000 (12:41 +0200)
I don't think we should unconditionally send every refused connection attempt
to a share to syslog, that's where all debug level 0 messages end up.

source3/smbd/service.c

index c66a4d3f8c9fec0f9b131fddeda7dd4d1ad9b9d3..bc07f0b90d405aceb6358ec6f3330db8051f0c22 100644 (file)
@@ -668,7 +668,7 @@ static connection_struct *make_connection_snum(int snum, user_struct *vuser,
                &conn->server_info);
 
        if (!NT_STATUS_IS_OK(status)) {
-               DEBUG(0, ("create_connection_server_info failed: %s\n",
+               DEBUG(1, ("create_connection_server_info failed: %s\n",
                          nt_errstr(status)));
                *pstatus = status;
                conn_free(conn);