[SCM] Samba Shared Repository - branch v3-6-test updated

Karolin Seeger kseeger at samba.org
Wed Nov 9 11:49:00 MST 2011


The branch, v3-6-test has been updated
       via  0f836e5 s3:smbd increase a debug level
      from  cb6795b Properly fix bug #8384 - Windows XP clients seem to crash smbd process every once in a while.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit 0f836e532abcd7e24fd65d885a5b5c1d94ebefa1
Author: Christian Ambach <ambi at samba.org>
Date:   Fri Nov 4 17:34:48 2011 +0100

    s3:smbd increase a debug level
    
    logging disconnected clients with level 1 swamps the logs
    
    (This fixes Bug #8585 Disconnecting clients swamp the logs)

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/process.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

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;
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list