1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-16 00:23:52 +03:00
This commit is contained in:
Luke Leighton
-
parent 710027a88a
commit 29434f496c
8 changed files with 134 additions and 9 deletions

View File

@@ -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.
********************************************************************/