diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-15 12:38:06 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-15 12:38:06 +0000 |
commit | 8c90fcd32b37f211c32bcabe5e0c9af1a1ec5381 (patch) | |
tree | 9ee9a0b269130bdbd983498f7a495ce6bd546e81 /source4/librpc/idl | |
parent | 4d00dd9d5d0a134804fb1d0e5e24980efee175a8 (diff) | |
download | samba-8c90fcd32b37f211c32bcabe5e0c9af1a1ec5381.tar.gz samba-8c90fcd32b37f211c32bcabe5e0c9af1a1ec5381.tar.bz2 samba-8c90fcd32b37f211c32bcabe5e0c9af1a1ec5381.zip |
added OpenAlias and QueryAliasInfo levels 1 to 3
(This used to be commit 2ed8cfdf6662f74808df67e3e9d03cf03f765569)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/samr.idl | 39 |
1 files changed, 36 insertions, 3 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl index d906978466..f64f9603ee 100644 --- a/source4/librpc/idl/samr.idl +++ b/source4/librpc/idl/samr.idl @@ -252,13 +252,14 @@ [out,ref] policy_handle *acct_handle ); + /************************/ /* Function 0x14 */ typedef struct { samr_Name name; uint32 unknown; - uint32 members; + uint32 num_members; samr_Name description; } samr_GroupInfoAll; @@ -311,13 +312,45 @@ /* Function 0x1a */ NTSTATUS samr_SET_MEMBER_ATTRIBUTES_OF_GROUP(); + /************************/ /* Function 0x1b */ - NTSTATUS samr_OPEN_ALIAS(); + NTSTATUS samr_OpenAlias ( + [in,ref] policy_handle *handle, + [in] uint32 access_mask, + [in] uint32 rid, + [out,ref] policy_handle *acct_handle + ); + /************************/ /* Function 0x1c */ - NTSTATUS samr_QUERY_ALIASINFO(); + + typedef struct { + samr_Name name; + uint32 num_members; + samr_Name description; + } samr_AliasInfoAll; + + typedef struct { + samr_Name name; + } samr_AliasInfoName; + + typedef struct { + samr_Name description; + } samr_AliasInfoDescription; + + typedef union { + case(1) samr_AliasInfoAll all; + case(2) samr_AliasInfoName name; + case(3) samr_AliasInfoDescription description; + } samr_AliasInfo; + + NTSTATUS samr_QueryAliasInfo( + [in,ref] policy_handle *handle, + [in] uint16 level, + [out,switch_is(level)] samr_AliasInfo *info + ); /************************/ /* Function 0x1d */ |