diff options
author | Volker Lendecke <vl@samba.org> | 2009-10-08 14:02:39 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-10-08 14:07:07 +0200 |
commit | f0fd5df7fd702ae2fc5fa43ac8627dd0208f607b (patch) | |
tree | 7f5a70db93d70b783ad336a181b512d52b113797 /source3/smbd | |
parent | 1e2f455b4aa77a10b20ad2beda4a8924d5a58e75 (diff) | |
download | samba-f0fd5df7fd702ae2fc5fa43ac8627dd0208f607b.tar.gz samba-f0fd5df7fd702ae2fc5fa43ac8627dd0208f607b.tar.bz2 samba-f0fd5df7fd702ae2fc5fa43ac8627dd0208f607b.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.
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/nttrans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index cf955d9651..0cc05dbd52 100644 --- 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; |