From a5aed16f8cbc7b1898e3b1708454d0092e58758c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 8 Oct 2009 14:02:39 +0200 Subject: [PATCH] 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. --- source/smbd/nttrans.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/source/smbd/nttrans.c b/source/smbd/nttrans.c index 0bd37a5..c392380 100644 --- 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; -- 1.6.0.4