summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse/parse_samr.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-06-01 17:01:34 +0000
committerJeremy Allison <jra@samba.org>2000-06-01 17:01:34 +0000
commitc2099cfb033c2cdb6035f4f7f50ce21b98e1584d (patch)
treeebd66d1339c8c2664c4c655acb464b4125dd4c30 /source/rpc_parse/parse_samr.c
parent864e7bde0e804edbb2425b9c4c7ff271553f8169 (diff)
downloadsamba-c2099cfb033c2cdb6035f4f7f50ce21b98e1584d.tar.gz
samba-c2099cfb033c2cdb6035f4f7f50ce21b98e1584d.tar.xz
samba-c2099cfb033c2cdb6035f4f7f50ce21b98e1584d.zip
Getting back to a compilable state (not there yet but close).
Added patches for random -> sys_random. Added set_effective_xxx patches for AFS code. Memory allocation changes in spoolss code. Jeremy.
Diffstat (limited to 'source/rpc_parse/parse_samr.c')
-rw-r--r--source/rpc_parse/parse_samr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/rpc_parse/parse_samr.c b/source/rpc_parse/parse_samr.c
index 4a85524263b..47e69670f74 100644
--- a/source/rpc_parse/parse_samr.c
+++ b/source/rpc_parse/parse_samr.c
@@ -314,9 +314,6 @@ BOOL samr_io_q_query_dom_info(char *desc, SAMR_Q_QUERY_DOMAIN_INFO *q_u, prs_st
if(!prs_uint16("switch_value", ps, depth, &q_u->switch_value))
return False;
- if(!prs_align(ps))
- return False;
-
return True;
}
@@ -899,6 +896,7 @@ static void init_sam_entry3(SAM_ENTRY3 *sam, uint32 grp_idx,
{
DEBUG(5,("init_sam_entry3\n"));
+ ZERO_STRUCTP(sam);
sam->grp_idx = grp_idx;
sam->rid_grp = rid_grp;
sam->attr = 0x07; /* group rid attributes - gets ignored by nt 4.0 */