This was also reported on the samba mailinglist (https://lists.samba.org/archive/samba/2011-August/163635.html) and makes it hard to read log.smbd in an environment with many clients e.g. [2011/08/09 15:56:18.382148, 1] smbd/process.c:456(receive_smb_talloc) read_smb_length_return_keepalive failed for client 192.168.1.100 read error = NT_STATUS_END_OF_FILE.
Created attachment 7067 [details] Proposed patch (as in master)
Created attachment 7068 [details] proposed patch in 3.6, we still have client_id around, so do not have go through tsocket and allocate memory
Comment on attachment 7068 [details] proposed patch I don't really see a difference to the previous patch, but I guess this also works. If the trend is to use more talloce'd memory, so be it.
Created attachment 7069 [details] proposed patch this is the second attempt, previous one was the original patch again
Karolin, please pick for the next release
Pushed to v3-6-test. Closing out bug report. Thanks!