summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lsaparse.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/lsaparse.c b/source3/lsaparse.c
index 69352466f6..3c18f5b71d 100644
--- a/source3/lsaparse.c
+++ b/source3/lsaparse.c
@@ -247,7 +247,9 @@ char* lsa_io_q_req_chal(BOOL io, LSA_Q_REQ_CHAL *q_c, char *q, char *base, int a
q = smb_io_unistr2(io, &(q_c->uni_logon_srv), q, base, align, depth); /* logon server unicode string */
q = smb_io_unistr2(io, &(q_c->uni_logon_clnt), q, base, align, depth); /* logon client unicode string */
- q = smb_io_chal(io, &(q_c->clnt_chal), q, base, align, depth); /* client challenge */
+
+ /* client challenge is _not_ aligned after the unicode strings */
+ q = smb_io_chal(io, &(q_c->clnt_chal), q, base, 0, depth); /* client challenge */
return q;
}