1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3:smbd increase a debug level

logging disconnected clients with level 1 swamps the logs
This commit is contained in:
Christian Ambach 2011-11-04 17:34:48 +01:00
parent 468fcfd8be
commit b99becd4fa

View File

@ -456,11 +456,12 @@ 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",
tsocket_address_string(sconn->remote_address,
talloc_tos()),
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",
tsocket_address_string(sconn->remote_address,
talloc_tos()),
nt_errstr(status)) );
return status;
}