Seeing a compound request from Win7 where the last request is async

Jeremy Allison jra at
Fri Dec 7 14:10:39 MST 2012

On Fri, Dec 07, 2012 at 11:46:16AM -0800, Richard Sharpe wrote:
> Hi folks,
> For reasons I don't understand we have started seeing a compound
> request consisting of:
> 1. CREATE on / followed by
> 2. A NOTIFY request.
> When responding Samba 3.6.6 (and it looks like Master) does not
> assemble the STATUS_PENDING response for the notify. This causes
> Windows to get very confused and it then sends sometime later a
> Samba says FILE_CLOSED to these ... which it should.
> It seems to me that we should handle ASYNC requests in a compound
> request if it is the last and only one. The code in
> smbd_smb2_request_pending_queue seems not to check if this is the last
> request in the chain. It simply cancels it.
> The downside seems to be that Windows fails to bring up the Security
> Tab because we have confused it.

Ok, follow up to the list. This isn't a bug in our SMB2 compound
handling, we handle this case correctly. It's something else
(not sure what yet :-).


More information about the samba-technical mailing list