summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2000-08-18 05:57:09 +0000
committerGerald Carter <jerry@samba.org>2000-08-18 05:57:09 +0000
commitf77c277184ace2db0f36ea5b09473989b3f58f0d (patch)
tree1cd67339caba8c25e137ae8ecf30d03622a7a87f /source3
parent40cc8e0df2282e8fc8d20735ee351add1ae23644 (diff)
downloadsamba-f77c277184ace2db0f36ea5b09473989b3f58f0d.tar.gz
samba-f77c277184ace2db0f36ea5b09473989b3f58f0d.tar.bz2
samba-f77c277184ace2db0f36ea5b09473989b3f58f0d.zip
fixed initialization errors (again!) I must have forgot to
check these in before. jerry (This used to be commit e682d6a599934e5460abe0d30cb2465fa80c7937)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_samr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_samr.c b/source3/rpc_server/srv_samr.c
index 04399a638c..95c3e7c6ca 100644
--- a/source3/rpc_server/srv_samr.c
+++ b/source3/rpc_server/srv_samr.c
@@ -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");