[SCM] Samba Shared Repository - branch v3-6-test updated

Volker Lendecke vlendec at samba.org
Wed Nov 3 11:29:04 MDT 2010


The branch, v3-6-test has been updated
       via  0690434 s3: Align nttrans replies the same way Windows does it
      from  e8b9fe7 s3: Fix a getgrent crash with many groups

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


- Log -----------------------------------------------------------------
commit 0690434752cfb4e607cd92d2ca5e36736d099e02
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Jul 3 13:28:01 2009 +0200

    s3: Align nttrans replies the same way Windows does it
    
    If you look at traces of "smbcacls" reading a secdesc from Samba and from W2k3
    shows this difference in the querysecdesc nttrans reply. This patch is
    necessary to enable viewing previous versions via the shadow copy modules from
    Windows 2008. The other client versions seem not to care, but W2k8 does.
    
    Signed-off-by: Michael Adam <obnox at samba.org>

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

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 efa1e8b..e70e683 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -57,7 +57,7 @@ void send_nt_replies(connection_struct *conn,
 	char *pp = params;
 	char *pd = pdata;
 	int params_sent_thistime, data_sent_thistime, total_sent_thistime;
-	int alignment_offset = 3;
+	int alignment_offset = 1;
 	int data_alignment_offset = 0;
 	struct smbd_server_connection *sconn = req->sconn;
 	int max_send = sconn->smb1.sessions.max_send;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list