mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
fixed initialization errors (again!) I must have forgot to
check these in before.
jerry
(This used to be commit e682d6a599
)
This commit is contained in:
parent
40cc8e0df2
commit
f77c277184
@ -610,6 +610,8 @@ static BOOL samr_reply_enum_dom_users(SAMR_Q_ENUM_DOM_USERS *q_u,
|
||||
int num_entries;
|
||||
int total_entries;
|
||||
|
||||
ZERO_STRUCT(r_e);
|
||||
|
||||
r_e.status = 0x0;
|
||||
r_e.total_num_entries = 0;
|
||||
|
||||
@ -670,6 +672,8 @@ static BOOL samr_reply_enum_dom_groups(SAMR_Q_ENUM_DOM_GROUPS *q_u,
|
||||
BOOL got_grps;
|
||||
char *dummy_group = "Domain Admins";
|
||||
|
||||
ZERO_STRUCT(r_e);
|
||||
|
||||
r_e.status = 0x0;
|
||||
r_e.num_entries = 0;
|
||||
|
||||
@ -2077,6 +2081,8 @@ static BOOL samr_reply_enum_domains(SAMR_Q_ENUM_DOMAINS* q_u, prs_struct* rdata)
|
||||
SAMR_R_ENUM_DOMAINS r_u;
|
||||
fstring dom[2];
|
||||
|
||||
ZERO_STRUCT(r_u);
|
||||
|
||||
fstrcpy(dom[0],global_myname);
|
||||
fstrcpy(dom[1],"Builtin");
|
||||
r_u.status = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user