diff options
author | Günther Deschner <gd@samba.org> | 2008-02-18 14:40:34 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-18 14:40:34 +0100 |
commit | 0349835b3439a2321c30220340aef44a5f13c719 (patch) | |
tree | 02dc0514bce502a739ccb9e6cc51a5d9117d65cc /source3/rpc_client | |
parent | 4673706e1d130555231b409baa270d7000267117 (diff) | |
download | samba-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.c | 14 |
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; +} + |