git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db9df98
)
s3: Fix shadow copy display on Windows 7
author
Volker Lendecke
<vl@samba.org>
Thu, 8 Oct 2009 12:02:39 +0000
(14:02 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Wed, 13 Jan 2010 13:00:59 +0000
(14:00 +0100)
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
)
source/smbd/nttrans.c
patch
|
blob
|
history
diff --git
a/source/smbd/nttrans.c
b/source/smbd/nttrans.c
index 0bd37a5d011d9b20a1558e0a4e673467799ba517..c392380b5ec7e39adff73fe2a2c8b991c71dc464 100644
(file)
--- 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;