3.3: 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)
committerKarolin Seeger <kseeger@samba.org>
Wed, 6 May 2009 06:52:42 +0000 (08:52 +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.

source/smbd/service.c

index 98b25369d1b8e1d8d3b4cc33ba23849ee59d60ae..4724dd7a59fe90e71e67c3816611a2f212a76f48 100644 (file)
@@ -740,7 +740,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);