The branch, v3-3-test has been updated
       via  dc3d1f2... s3: Fix shadow copy display on Windows 7
      from  04fa292... s3:docs: Fix typo in man mount.cifs.

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


- Log -----------------------------------------------------------------
commit dc3d1f2f073f135bf48a08163010465ba88b9d37
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:
 source/smbd/nttrans.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

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;
 


-- 
Samba Shared Repository

Reply via email to