From a785f8d2c90f3db579c781ca5f722cb5b695fcb4 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Fri, 16 Oct 1998 23:40:59 +0000 Subject: dce/rpc (This used to be commit 29434f496c18e816d864060d68f357aea6ef5de8) --- source3/rpc_parse/parse_samr.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'source3/rpc_parse') diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c index eb882a7564..a443191a7a 100644 --- a/source3/rpc_parse/parse_samr.c +++ b/source3/rpc_parse/parse_samr.c @@ -2357,6 +2357,7 @@ void make_samr_q_connect(SAMR_Q_CONNECT *q_u, DEBUG(5,("make_q_connect\n")); /* make PDC server name \\server */ + q_u->ptr_srv_name = len_srv_name > 0 ? 1 : 0; make_unistr2(&(q_u->uni_srv_name), srv_name, len_srv_name); /* example values: 0x0000 0002 */ @@ -2750,6 +2751,18 @@ void samr_io_q_chgpasswd_user(char *desc, SAMR_Q_CHGPASSWD_USER *q_u, prs_struct samr_io_enc_hash ("lm_oldhash", &(q_u->lm_oldhash), ps, depth); } +/******************************************************************* +makes a SAMR_R_CHGPASSWD_USER structure. +********************************************************************/ +void make_samr_r_chgpasswd_user(SAMR_R_CHGPASSWD_USER *r_u, uint32 status) +{ + if (r_u == NULL) return; + + DEBUG(5,("make_r_chgpasswd_user\n")); + + r_u->status = status; +} + /******************************************************************* reads or writes a structure. ********************************************************************/ -- cgit