diff options
author | Volker Lendecke <vl@samba.org> | 2009-10-08 14:02:39 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2010-01-13 14:00:59 +0100 |
commit | 3a8c26e832057486f923c1d1f1bfd6da71559dd4 (patch) | |
tree | 60a795c79bcd167f2d889bc3cbe8ecc001319bab | |
parent | db9df986d4603a2e034625be3ed9720df6843c0a (diff) | |
download | samba-3a8c26e832057486f923c1d1f1bfd6da71559dd4.tar.gz samba-3a8c26e832057486f923c1d1f1bfd6da71559dd4.tar.xz samba-3a8c26e832057486f923c1d1f1bfd6da71559dd4.zip |
s3: Fix shadow copy display on Windows 7
Windows 7 is a bit more picky on our NT_STATUS_BUFFER_TOO_SMALL. Announce the
right buffer size, the same amount we later check for.
Fix bug #6850 (Shadow Copy Support for VISTA / Windows 7).
(cherry picked from commit dc3d1f2f073f135bf48a08163010465ba88b9d37)
-rw-r--r-- | source/smbd/nttrans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/nttrans.c b/source/smbd/nttrans.c index 0bd37a5d011..c392380b5ec 100644 --- a/source/smbd/nttrans.c +++ b/source/smbd/nttrans.c @@ -1904,7 +1904,7 @@ static void call_nt_transact_ioctl(connection_struct *conn, } /* needed_data_count 4 bytes */ - SIVAL(pdata,8,labels_data_count); + SIVAL(pdata, 8, labels_data_count+4); cur_pdata+=12; |