Fix bug #7791 - gvfsd-smb (Gnome vfs) fails to copy files from a SMB share using...
authorJeremy Allison <jra@samba.org>
Thu, 11 Nov 2010 17:44:21 +0000 (09:44 -0800)
committerKarolin Seeger <kseeger@samba.org>
Sat, 5 Mar 2011 13:34:35 +0000 (14:34 +0100)
commit48d41b445970f664152b5792b13f63693ff30cde
treeb93ffeb34d0cf5eb21c005f4fae7d52eb1390360
parent8af876432a83292db672c5f7a1fb7e0ec9c1cf65
Fix bug #7791 - gvfsd-smb (Gnome vfs) fails to copy files from a SMB share using SMB signing.

The underlying problem is that the old code invoked by cli_write() increments
cli->mid directly when issuing outstanding writes. This should now be done only
in libsmb/clientgen.c to make metze's new signing engine works correctly. Just
deleting this code fixes the problem.

Jeremy.
(cherry picked from commit 9a02a38d9783b0d7dc172cc5bdc2380bc5d107cf)
source3/libsmb/clireadwrite.c