From 5a6db490ea56d6492f268b8c5fbc2bc017ba87b6 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Wed, 17 Mar 1999 21:35:10 +0000 Subject: SAMLOGON query - alignment issue is beginning to get to me. (This used to be commit baf55934dc5118f8c423fe05c0e4b8d7c018fa14) --- source3/nmbd/nmbd_processlogon.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit