First part of fix for bug #7331 - Compound async SMB 2 requests don't work right.
authorJeremy Allison <jra@samba.org>
Sun, 18 Apr 2010 04:20:17 +0000 (21:20 -0700)
committerJeremy Allison <jra@samba.org>
Sun, 18 Apr 2010 04:20:17 +0000 (21:20 -0700)
commitbf45b4f4fda2c4e0d697bb30720c780325c3cd84
tree4e6bcc149469832e1126972cfcc8f0a24069e20e
parente0d6f1a6dafef712c90a5df21fa42791e5c9b140
First part of fix for bug #7331 - Compound async SMB 2 requests don't work right.

Gets us handling SMB2 compound async requests similar to W2K8R2
(and triggers the same client bug in the Win7 redirector). Great
thanks to Ira Cooper <samba@ira.wakeful.net> for helping with
this and to Metze for the wonderful async framework. The one
thing I need to fix to make us identical to W2K8R2 is that
when a compound request goes async at the end W2K8R2 splits
the replies up into a compound non-async reply followed by
a separate async reply. Currently we're doing the whole thing
in a compound reply.

Jeremy.
source3/smbd/globals.h
source3/smbd/smb2_notify.c
source3/smbd/smb2_server.c
source3/smbd/smb2_sesssetup.c
source3/smbd/smb2_tcon.c