summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-05-04 07:33:10 +0000
committerTim Potter <tpot@samba.org>2001-05-04 07:33:10 +0000
commit5d58cf895c7537615c1834e6d3d7db746e5ceb8b (patch)
tree7bdbd0ab80495ce64a603190bf691fc0a1c68d97
parentd7387f8fb5786680c7c321bcb440217c95493da3 (diff)
downloadsamba-5d58cf895c7537615c1834e6d3d7db746e5ceb8b.tar.gz
samba-5d58cf895c7537615c1834e6d3d7db746e5ceb8b.tar.bz2
samba-5d58cf895c7537615c1834e6d3d7db746e5ceb8b.zip
Renamed unknown field to access mask in open alias parsing functions.
(This used to be commit d384cae5707889f34ac19ccd80737ab6eb5fdb98)
-rw-r--r--source3/rpc_parse/parse_samr.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c
index 7d023d54fc..7d8c4f2533 100644
--- a/source3/rpc_parse/parse_samr.c
+++ b/source3/rpc_parse/parse_samr.c
@@ -3594,15 +3594,12 @@ inits a SAMR_Q_OPEN_ALIAS structure.
********************************************************************/
void init_samr_q_open_alias(SAMR_Q_OPEN_ALIAS * q_u, POLICY_HND *pol,
- uint32 unknown_0, uint32 rid)
+ uint32 access_mask, uint32 rid)
{
DEBUG(5, ("init_samr_q_open_alias\n"));
q_u->dom_pol = *pol;
-
- /* example values: 0x0000 0008 */
- q_u->unknown_0 = unknown_0;
-
+ q_u->access_mask = access_mask;
q_u->rid_alias = rid;
}
@@ -3625,7 +3622,7 @@ BOOL samr_io_q_open_alias(char *desc, SAMR_Q_OPEN_ALIAS * q_u,
if(!smb_io_pol_hnd("domain_pol", &q_u->dom_pol, ps, depth))
return False;
- if(!prs_uint32("unknown_0", ps, depth, &q_u->unknown_0))
+ if(!prs_uint32("access_mask", ps, depth, &q_u->access_mask))
return False;
if(!prs_uint32("rid_alias", ps, depth, &q_u->rid_alias))
return False;