The Samba-Bugzilla – Attachment 7069 Details for
Bug 8585
Disconnecting clients swamp the logs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
0001-s3-smbd-increase-a-debug-level.patch (text/plain), 1.13 KB, created by
Christian Ambach
on 2011-11-07 15:50:47 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Christian Ambach
Created:
2011-11-07 15:50:47 UTC
Size:
1.13 KB
patch
obsolete
>From 3ebbcfd73215cea7ba2d2dd653b28f0472d834d6 Mon Sep 17 00:00:00 2001 >From: Christian Ambach <ambi@samba.org> >Date: Fri, 4 Nov 2011 17:34:48 +0100 >Subject: [PATCH] s3:smbd increase a debug level > >logging disconnected clients with level 1 swamps the logs > >(This fixes Bug #8585 Disconnecting clients swamp the logs) >--- > source3/smbd/process.c | 7 ++++--- > 1 files changed, 4 insertions(+), 3 deletions(-) > >diff --git a/source3/smbd/process.c b/source3/smbd/process.c >index a337469..b370423 100644 >--- a/source3/smbd/process.c >+++ b/source3/smbd/process.c >@@ -451,9 +451,10 @@ static NTSTATUS receive_smb_talloc(TALLOC_CTX *mem_ctx, > status = receive_smb_raw_talloc(mem_ctx, sconn, sock, buffer, timeout, > p_unread, &len); > if (!NT_STATUS_IS_OK(status)) { >- DEBUG(1, ("read_smb_length_return_keepalive failed for " >- "client %s read error = %s.\n", >- sconn->client_id.addr, nt_errstr(status))); >+ DEBUG(NT_STATUS_EQUAL(status, NT_STATUS_END_OF_FILE)?5:1, >+ ("receive_smb_raw_talloc failed for client %s " >+ "read error = %s.\n", >+ sconn->client_id.addr, nt_errstr(status))); > return status; > } > >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
vl
:
review+
Actions:
View
Attachments on
bug 8585
:
7067
|
7068
| 7069