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/ndr/ndr_samr.h | |
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/ndr/ndr_samr.h')
-rw-r--r-- | source4/librpc/ndr/ndr_samr.h | 37 |
1 files changed, 32 insertions, 5 deletions
diff --git a/source4/librpc/ndr/ndr_samr.h b/source4/librpc/ndr/ndr_samr.h index 5708fcd405..1d29f56c65 100644 --- a/source4/librpc/ndr/ndr_samr.h +++ b/source4/librpc/ndr/ndr_samr.h @@ -357,7 +357,7 @@ struct samr_OpenGroup { struct samr_GroupInfoAll { struct samr_Name name; uint32 unknown; - uint32 members; + uint32 num_members; struct samr_Name description; }; @@ -453,21 +453,48 @@ struct samr_SET_MEMBER_ATTRIBUTES_OF_GROUP { }; -struct samr_OPEN_ALIAS { +struct samr_OpenAlias { struct { + struct policy_handle *handle; + uint32 access_mask; + uint32 rid; } in; struct { + struct policy_handle *acct_handle; NTSTATUS result; } out; }; -struct samr_QUERY_ALIASINFO { +struct samr_AliasInfoAll { + struct samr_Name name; + uint32 num_members; + struct samr_Name description; +}; + +struct samr_AliasInfoName { + struct samr_Name name; +}; + +struct samr_AliasInfoDescription { + struct samr_Name description; +}; + +union samr_AliasInfo { +/* [case(1)] */ struct samr_AliasInfoAll all; +/* [case(2)] */ struct samr_AliasInfoName name; +/* [case(3)] */ struct samr_AliasInfoDescription description; +}; + +struct samr_QueryAliasInfo { struct { + struct policy_handle *handle; + uint16 level; } in; struct { + union samr_AliasInfo *info; NTSTATUS result; } out; @@ -1074,8 +1101,8 @@ struct samr_VALIDATE_PASSWORD { #define DCERPC_SAMR_DEL_GROUPMEM 24 #define DCERPC_SAMR_QUERY_GROUPMEM 25 #define DCERPC_SAMR_SET_MEMBER_ATTRIBUTES_OF_GROUP 26 -#define DCERPC_SAMR_OPEN_ALIAS 27 -#define DCERPC_SAMR_QUERY_ALIASINFO 28 +#define DCERPC_SAMR_OPENALIAS 27 +#define DCERPC_SAMR_QUERYALIASINFO 28 #define DCERPC_SAMR_SET_ALIASINFO 29 #define DCERPC_SAMR_DELETE_DOM_ALIAS 30 #define DCERPC_SAMR_ADD_ALIASMEM 31 |