summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-05-06 18:02:05 +0000
committerLuke Leighton <lkcl@samba.org>1999-05-06 18:02:05 +0000
commitd58b440fad3ac0e907e579205bcc00ca6b147792 (patch)
tree6d9472269c29f00ed969ff8a73b3db7dc1716ea6 /source3
parent4e5bf481fba36655e8fc8e04f6f67ba17dcb9844 (diff)
downloadsamba-d58b440fad3ac0e907e579205bcc00ca6b147792.tar.gz
samba-d58b440fad3ac0e907e579205bcc00ca6b147792.tar.bz2
samba-d58b440fad3ac0e907e579205bcc00ca6b147792.zip
alignment needed after unicode string names in password change.
(This used to be commit e66b6afc699593789e7a8372ddaa407c320cd15d)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_parse/parse_samr.c3
1 files changed, 3 insertions, 0 deletions
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);