Fix bug #7791 - gvfsd-smb (Gnome vfs) fails to copy files from a SMB share using...
commit254d3da934086e0bbfb74f23167eefbcc0759e1a
authorJeremy Allison <jra@samba.org>
Thu, 11 Nov 2010 01:59:05 +0000 (10 17:59 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 11 Nov 2010 04:30:50 +0000 (10 20:30 -0800)
tree6fa9ee313c7afd6ed8441590bf62ea1a4aee40d8
parent2791ecb6937bfc280280844829a1abd9477778fe
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.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Nov 11 02:50:08 UTC 2010 on sn-devel-104
(cherry picked from commit 0afb2995a2177afa2eb7b8f99887a39cdaf23a15)
source3/libsmb/clireadwrite.c