summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-19 01:01:15 +0100
committerGünther Deschner <gd@samba.org>2008-02-19 01:10:30 +0100
commit2a501a0760a7f1377cf1acf6594f8ba7b6fa07f0 (patch)
treea7a3192628dfa2c1afaf36a3f350f3d719d074b3 /source3/rpc_client
parentd31806dffe111dc78968ec32d5165a21e87ad508 (diff)
downloadsamba-2a501a0760a7f1377cf1acf6594f8ba7b6fa07f0.tar.gz
samba-2a501a0760a7f1377cf1acf6594f8ba7b6fa07f0.tar.bz2
samba-2a501a0760a7f1377cf1acf6594f8ba7b6fa07f0.zip
Use pidl for _lsa_LookupSids, _lsa_LookupSids2 and _lsa_LookupSids3.
Guenther (This used to be commit b1609801e4443a3efbc29873477ad335d0241be4)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/init_lsa.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/source3/rpc_client/init_lsa.c b/source3/rpc_client/init_lsa.c
index 43d0de501f..fce382ed1b 100644
--- a/source3/rpc_client/init_lsa.c
+++ b/source3/rpc_client/init_lsa.c
@@ -100,3 +100,18 @@ void init_lsa_translated_sid(struct lsa_TranslatedSid *r,
r->sid_index = sid_index;
}
+/*******************************************************************
+ Inits a lsa_TranslatedName2 structure.
+********************************************************************/
+
+void init_lsa_translated_name2(struct lsa_TranslatedName2 *r,
+ enum lsa_SidType sid_type,
+ const char *name,
+ uint32_t sid_index,
+ uint32_t unknown)
+{
+ r->sid_type = sid_type;
+ init_lsa_String(&r->name, name);
+ r->sid_index = sid_index;
+ r->unknown = unknown;
+}