1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +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:
Gerald Carter 2000-08-18 05:57:09 +00:00
parent 40cc8e0df2
commit f77c277184

View File

@ -609,6 +609,8 @@ static BOOL samr_reply_enum_dom_users(SAMR_Q_ENUM_DOM_USERS *q_u,
SAM_USER_INFO_21 pass[MAX_SAM_ENTRIES];
int num_entries;
int total_entries;
ZERO_STRUCT(r_e);
r_e.status = 0x0;
r_e.total_num_entries = 0;
@ -669,6 +671,8 @@ static BOOL samr_reply_enum_dom_groups(SAMR_Q_ENUM_DOM_GROUPS *q_u,
int num_entries;
BOOL got_grps;
char *dummy_group = "Domain Admins";
ZERO_STRUCT(r_e);
r_e.status = 0x0;
r_e.num_entries = 0;
@ -2076,6 +2080,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");