From: Volker Lendecke Date: Thu, 8 Oct 2009 12:02:39 +0000 (+0200) Subject: s3: Fix shadow copy display on Windows 7 X-Git-Tag: talloc-2.0.1~56^2~1 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=f0fd5df7fd702ae 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. --- diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index cf955d9651d..0cc05dbd52e 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;