diff options
author | Volker Lendecke <vl@samba.org> | 2009-07-03 13:28:01 +0200 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2010-11-03 17:04:28 +0000 |
commit | f6a1f46b5e6e5daddcaf57ca8d9a96580c3676fe (patch) | |
tree | dcc210f6a127ae26ae0b2af4a6d892128ee09abc /source3/smbd | |
parent | 9d4eeaeb194d071f02b19aaca3ad1b89d81d3637 (diff) | |
download | samba-f6a1f46b5e6e5daddcaf57ca8d9a96580c3676fe.tar.gz samba-f6a1f46b5e6e5daddcaf57ca8d9a96580c3676fe.tar.bz2 samba-f6a1f46b5e6e5daddcaf57ca8d9a96580c3676fe.zip |
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@samba.org>
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Nov 3 17:04:28 UTC 2010 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/nttrans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index caba21161c..855a49b2d5 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -58,7 +58,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; |