git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf00bbf
)
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
Volker Lendecke
<vl@samba.org>
Mon, 19 Oct 2009 10:07:56 +0000
(12:07 +0200)
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.
source/smbd/nttrans.c
patch
|
blob
|
history
diff --git
a/source/smbd/nttrans.c
b/source/smbd/nttrans.c
index da3998680b3e8f499f25f25af7a79771b5810a39..3d6fd4c51a80120a4e2d39c94cf43086f22449cb 100644
(file)
--- a/
source/smbd/nttrans.c
+++ b/
source/smbd/nttrans.c
@@
-1944,7
+1944,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;