summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-03-17 21:35:10 +0000
committerLuke Leighton <lkcl@samba.org>1999-03-17 21:35:10 +0000
commit5a6db490ea56d6492f268b8c5fbc2bc017ba87b6 (patch)
tree1f3c93df3ef95efa5bb0c0b70f6d4eb5e53935dd
parent7f02de406d4a59fdaaa646ca6e28fdcb3e40a13d (diff)
downloadsamba-5a6db490ea56d6492f268b8c5fbc2bc017ba87b6.tar.gz
samba-5a6db490ea56d6492f268b8c5fbc2bc017ba87b6.tar.bz2
samba-5a6db490ea56d6492f268b8c5fbc2bc017ba87b6.zip
SAMLOGON query - alignment issue is beginning to get to me.
(This used to be commit baf55934dc5118f8c423fe05c0e4b8d7c018fa14)
-rw-r--r--source3/nmbd/nmbd_processlogon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd_processlogon.c b/source3/nmbd/nmbd_processlogon.c
index fb5dec29f9..6b56aed5b2 100644
--- a/source3/nmbd/nmbd_processlogon.c
+++ b/source3/nmbd/nmbd_processlogon.c
@@ -180,7 +180,9 @@ reporting %s domain %s 0x%x ntversion=%x lm_nt token=%x lm_20 token=%x\n",
domainsidsize = IVAL(q, 0);
q += 4;
q += domainsidsize;
+
q = align4(q, buf);
+ q += 2;
ntversion = IVAL(q, 0);
q += 4;