git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e2f455
)
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>
Thu, 8 Oct 2009 12:07:07 +0000
(14: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.
source3/smbd/nttrans.c
patch
|
blob
|
history
diff --git
a/source3/smbd/nttrans.c
b/source3/smbd/nttrans.c
index cf955d9651d8585f32938c2daf86b4f88b63581c..0cc05dbd52ef17ebf19c14f1f8506802aad528ea 100644
(file)
--- a/
source3/smbd/nttrans.c
+++ b/
source3/smbd/nttrans.c
@@
-2036,7
+2036,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;