summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/nmbd/nmbd_processlogon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd_processlogon.c b/source3/nmbd/nmbd_processlogon.c
index 710bbe0de7..fb5dec29f9 100644
--- a/source3/nmbd/nmbd_processlogon.c
+++ b/source3/nmbd/nmbd_processlogon.c
@@ -179,8 +179,8 @@ reporting %s domain %s 0x%x ntversion=%x lm_nt token=%x lm_20 token=%x\n",
q += 4;
domainsidsize = IVAL(q, 0);
q += 4;
- q += domainsidsize + 2;
- q = align2(q, buf);
+ q += domainsidsize;
+ q = align4(q, buf);
ntversion = IVAL(q, 0);
q += 4;