diff options
author | Luke Leighton <lkcl@samba.org> | 1999-03-17 19:48:29 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-03-17 19:48:29 +0000 |
commit | 7f913623be602be833eb8668e60734e2758cb9a1 (patch) | |
tree | b689aa3fb7b85131a41c2fe3f18b39d7b8094793 | |
parent | 517aade8bd6759124ef7c2d9bc0f7059327de36c (diff) | |
download | samba-7f913623be602be833eb8668e60734e2758cb9a1.tar.gz samba-7f913623be602be833eb8668e60734e2758cb9a1.tar.bz2 samba-7f913623be602be833eb8668e60734e2758cb9a1.zip |
alignment issue for UDP SAMLOGON response.
(This used to be commit 9d01e9d86a8d22a283a8377a12bb175398547d78)
-rw-r--r-- | source3/nmbd/nmbd_processlogon.c | 4 |
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; |