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>
Tue, 26 May 2009 07:38:46 +0000 (09:38 +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.
(cherry picked from commit 8c7afce8bb86cda773c713459bb18233dc4848a3)

source3/smbd/service.c

index ab2371c875a53f99a20b1e2f38313c3524527029..fc597445846fc3da7d09643229c5d8e0b4097c5b 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);