From 625c6c79cac582c7266e89798fc65346d7b2afab Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 11 Mar 2008 17:25:25 +0100 Subject: [PATCH] wb-ndr: add idl for WINBIND_LOOKUP_LEVEL_EXPANDALIASES metze --- source/librpc/idl/winbind_protocol.idl | 35 +++++++++++++++----------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/source/librpc/idl/winbind_protocol.idl b/source/librpc/idl/winbind_protocol.idl index f4723551d6f..8c66cfa75b1 100644 --- a/source/librpc/idl/winbind_protocol.idl +++ b/source/librpc/idl/winbind_protocol.idl @@ -146,7 +146,8 @@ import "security.idl", "lsa.idl"; WINBIND_LOOKUP_LEVEL_NAME2SID = 2, WINBIND_LOOKUP_LEVEL_RIDS2NAMES = 3, WINBIND_LOOKUP_LEVEL_SID2USERINFO = 4, - WINBIND_LOOKUP_LEVEL_SID2DOMGROUPS = 5 + WINBIND_LOOKUP_LEVEL_SID2DOMGROUPS = 5, + WINBIND_LOOKUP_LEVEL_EXPANDALIASES = 6 } winbind_lookup_level; struct winbind_lookup_req_rids { @@ -155,20 +156,6 @@ import "security.idl", "lsa.idl"; uint32 rids[num_rids]; }; - typedef [switch_type(winbind_lookup_level)] union { - [case(WINBIND_LOOKUP_LEVEL_SID2NAME)] -/*TODO [ref]*/ dom_sid *sid; - [case(WINBIND_LOOKUP_LEVEL_NAME2SID)] - [string,charset(UTF8)] uint8 name[]; - [case(WINBIND_LOOKUP_LEVEL_RIDS2NAMES)] - struct winbind_lookup_req_rids rids; - [case(WINBIND_LOOKUP_LEVEL_SID2USERINFO)] -/*TODO [ref]*/ dom_sid *sid; - [case(WINBIND_LOOKUP_LEVEL_SID2DOMGROUPS)] -/*TODO [ref]*/ dom_sid *sid; - [default]; - } winbind_lookup_req; - struct winbind_lookup_name_info { [string,charset(UTF8)] uint8 domain_name[]; [string,charset(UTF8)] uint8 account_name[]; @@ -199,6 +186,22 @@ import "security.idl", "lsa.idl"; struct winbind_lookup_sid_info sids[num_sids]; }; + typedef [switch_type(winbind_lookup_level)] union { + [case(WINBIND_LOOKUP_LEVEL_SID2NAME)] +/*TODO [ref]*/ dom_sid *sid; + [case(WINBIND_LOOKUP_LEVEL_NAME2SID)] + [string,charset(UTF8)] uint8 name[]; + [case(WINBIND_LOOKUP_LEVEL_RIDS2NAMES)] + struct winbind_lookup_req_rids rids; + [case(WINBIND_LOOKUP_LEVEL_SID2USERINFO)] +/*TODO [ref]*/ dom_sid *sid; + [case(WINBIND_LOOKUP_LEVEL_SID2DOMGROUPS)] +/*TODO [ref]*/ dom_sid *sid; + [case(WINBIND_LOOKUP_LEVEL_EXPANDALIASES)] + struct winbind_lookup_sid_info_array sid_array; + [default]; + } winbind_lookup_req; + typedef [switch_type(winbind_lookup_level)] union { [case(WINBIND_LOOKUP_LEVEL_SID2NAME)] struct winbind_lookup_name_info name_info; @@ -210,6 +213,8 @@ import "security.idl", "lsa.idl"; struct winbind_lookup_user_info user_info; [case(WINBIND_LOOKUP_LEVEL_SID2DOMGROUPS)] struct winbind_lookup_sid_info_array sid_array; + [case(WINBIND_LOOKUP_LEVEL_EXPANDALIASES)] + struct winbind_lookup_sid_info_array sid_array; [default]; } winbind_lookup_rep; -- 2.34.1