From d58b440fad3ac0e907e579205bcc00ca6b147792 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Thu, 6 May 1999 18:02:05 +0000 Subject: alignment needed after unicode string names in password change. (This used to be commit e66b6afc699593789e7a8372ddaa407c320cd15d) --- source3/rpc_parse/parse_samr.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3') diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c index 6b75136f94..2cd818aa0d 100644 --- a/source3/rpc_parse/parse_samr.c +++ b/source3/rpc_parse/parse_samr.c @@ -5064,8 +5064,11 @@ void samr_io_q_chgpasswd_user(char *desc, SAMR_Q_CHGPASSWD_USER *q_u, prs_struct smb_io_unihdr ("", &(q_u->hdr_dest_host), ps, depth); smb_io_unistr2("", &(q_u->uni_dest_host), q_u->hdr_dest_host.buffer, ps, depth); + prs_align(ps); + smb_io_unihdr ("", &(q_u->hdr_user_name), ps, depth); smb_io_unistr2("", &(q_u->uni_user_name), q_u->hdr_user_name.buffer, ps, depth); + prs_align(ps); samr_io_enc_passwd("nt_newpass", &(q_u->nt_newpass), ps, depth); prs_grow(ps); -- cgit