summaryrefslogtreecommitdiff
path: root/source/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-18 14:40:34 +0100
committerGünther Deschner <gd@samba.org>2008-02-18 14:40:34 +0100
commit01b733f10c1645668f2aea2841bbdc64b4bd5c51 (patch)
treed17d08a7dda9cd3fa03f978dd0a5de22ce5ce014 /source/rpc_client
parent144f41e7c3c97afede71ed771acd130f9018f0df (diff)
downloadsamba-01b733f10c1645668f2aea2841bbdc64b4bd5c51.tar.gz
Use pidl for _lsa_LookupNames() and _lsa_LookupNames2().
Hopefully I didn't screw this up. Please check :) Guenther
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/init_lsa.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/source/rpc_client/init_lsa.c b/source/rpc_client/init_lsa.c
index 114e435945b..43d0de501fb 100644
--- a/source/rpc_client/init_lsa.c
+++ b/source/rpc_client/init_lsa.c
@@ -86,3 +86,17 @@ void init_lsa_obj_attr(struct lsa_ObjectAttribute *r,
r->sec_qos = sec_qos;
}
+/*******************************************************************
+ Inits a lsa_TranslatedSid structure.
+********************************************************************/
+
+void init_lsa_translated_sid(struct lsa_TranslatedSid *r,
+ enum lsa_SidType sid_type,
+ uint32_t rid,
+ uint32_t sid_index)
+{
+ r->sid_type = sid_type;
+ r->rid = rid;
+ r->sid_index = sid_index;
+}
+