summaryrefslogtreecommitdiff
path: root/source3/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
commit0349835b3439a2321c30220340aef44a5f13c719 (patch)
tree02dc0514bce502a739ccb9e6cc51a5d9117d65cc /source3/rpc_client
parent4673706e1d130555231b409baa270d7000267117 (diff)
downloadsamba-0349835b3439a2321c30220340aef44a5f13c719.tar.gz
samba-0349835b3439a2321c30220340aef44a5f13c719.tar.bz2
samba-0349835b3439a2321c30220340aef44a5f13c719.zip
Use pidl for _lsa_LookupNames() and _lsa_LookupNames2().
Hopefully I didn't screw this up. Please check :) Guenther (This used to be commit 01b733f10c1645668f2aea2841bbdc64b4bd5c51)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/init_lsa.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/rpc_client/init_lsa.c b/source3/rpc_client/init_lsa.c
index 114e435945..43d0de501f 100644
--- a/source3/rpc_client/init_lsa.c
+++ b/source3/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;
+}
+