summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-03-06 15:22:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:57 -0500
commit9f2e29799eac96068fa033bdc4a9df5a82ec470d (patch)
treeb114323235b5e5e0ee8869f5dc1fa68272258955 /source3/rpc_parse
parent105825cf5a0de9f270e140910d1376d6c43d57a7 (diff)
downloadsamba-9f2e29799eac96068fa033bdc4a9df5a82ec470d.tar.gz
samba-9f2e29799eac96068fa033bdc4a9df5a82ec470d.tar.bz2
samba-9f2e29799eac96068fa033bdc4a9df5a82ec470d.zip
r13864: Some cleanup and the samr set security object function client-side.
Guenther (This used to be commit 0ae3fddf95a95ec8a2f4d52e1276c1721b33ddfd)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_samr.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c
index 49d0fb7d72..3147ae0028 100644
--- a/source3/rpc_parse/parse_samr.c
+++ b/source3/rpc_parse/parse_samr.c
@@ -919,6 +919,21 @@ BOOL samr_io_r_query_dom_info(const char *desc, SAMR_R_QUERY_DOMAIN_INFO * r_u,
}
/*******************************************************************
+reads or writes a structure.
+********************************************************************/
+
+void init_samr_q_set_sec_obj(SAMR_Q_SET_SEC_OBJ * q_u,
+ POLICY_HND *pol, uint32 sec_info, SEC_DESC_BUF *buf)
+{
+ DEBUG(5, ("samr_init_samr_q_set_sec_obj\n"));
+
+ q_u->pol = *pol;
+ q_u->sec_info = sec_info;
+ q_u->buf = buf;
+}
+
+
+/*******************************************************************
reads or writes a SAMR_R_SET_SEC_OBJ structure.
********************************************************************/