s3: Fix chained sesssetupAndX/tconn messages
authorTim Prouty <tprouty@samba.org>
Wed, 25 Mar 2009 00:24:55 +0000 (00:24 +0000)
committerJeremy Allison <jra@samba.org>
Sat, 9 May 2009 00:09:16 +0000 (17:09 -0700)
commit6c935f95b3d4aaf0922c5a7baf59c1e8224c019a
tree1013585af050b0318768a89ef99a8e26804400fd
parenta3873bca516e0f89302409c89910561707360d14
s3: Fix chained sesssetupAndX/tconn messages

A sesssetupAndX chained with a tconn will not correctly set the TID in
the response header.  I'm seeing an XP client send this chained
sesssetup/tconn when samba has security = share.  Samba's current
behavior is to return a TID of 0 in the smb header rather than the
actual TID.  This patch also updates the UID in the header as well.
source3/smbd/process.c