The branch, v3-4-test has been updated
       via  b1243ff... s3: Fix shadow copy display on Windows 7
      from  ab9e7e9... s3-spoolss: simplify _spoolss_EnumPrinterKey a little 
more.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test


- Log -----------------------------------------------------------------
commit b1243ff12d4f4b948dc7bbd85795f8ee8f7621d9
Author: Volker Lendecke <v...@samba.org>
Date:   Thu Oct 8 14:02:39 2009 +0200

    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).

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/nttrans.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 9f30f06..dfe59f0 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -1991,7 +1991,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;
 


-- 
Samba Shared Repository

Reply via email to