wb-ndr: add idl for WINBIND_LOOKUP_LEVEL_EXPANDALIASES
authorStefan Metzmacher <metze@sernet.de>
Tue, 11 Mar 2008 16:25:25 +0000 (17:25 +0100)
committerStefan Metzmacher <metze@sernet.de>
Fri, 2 May 2008 14:13:35 +0000 (16:13 +0200)
metze

source/librpc/idl/winbind_protocol.idl

index f4723551d6f117ac417f86bb53014a88fbec24f8..8c66cfa75b150788e6915e77c07f596aa52766e5 100644 (file)
@@ -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;