From 3a8c26e832057486f923c1d1f1bfd6da71559dd4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 8 Oct 2009 14:02:39 +0200 Subject: 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. Fix bug #6850 (Shadow Copy Support for VISTA / Windows 7). (cherry picked from commit dc3d1f2f073f135bf48a08163010465ba88b9d37) --- source/smbd/nttrans.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/smbd/nttrans.c b/source/smbd/nttrans.c index 0bd37a5d011..c392380b5ec 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; -- cgit