diff options
author | Günther Deschner <gd@samba.org> | 2008-07-31 16:03:57 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-08-11 19:47:05 +0200 |
commit | 572495b0d619bed15354f5260265ee7bf82af967 (patch) | |
tree | 788e5246173ec910e7d8e40cabeb1452cb2ba66e /source3/librpc | |
parent | fabd6551b3e601c3c3cf921632a4a9f4c79ee847 (diff) | |
download | samba-572495b0d619bed15354f5260265ee7bf82af967.tar.gz samba-572495b0d619bed15354f5260265ee7bf82af967.tar.bz2 samba-572495b0d619bed15354f5260265ee7bf82af967.zip |
netapi: add remaining NetLocalGroup*Member calls to IDL.
Guenther
(This used to be commit c06dfb823548de3652778c67918335578f194678)
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/idl/libnetapi.idl | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/source3/librpc/idl/libnetapi.idl b/source3/librpc/idl/libnetapi.idl index d9745d0c73..1bb0aafe94 100644 --- a/source3/librpc/idl/libnetapi.idl +++ b/source3/librpc/idl/libnetapi.idl @@ -826,6 +826,90 @@ interface libnetapi ); /*******************************************/ + /* NetLocalGroupAddMembers */ + /*******************************************/ + + typedef enum { + SidTypeUser = 1, + SidTypeGroup = 2, + SidTypeDomain = 3, + SidTypeAlias = 4, + SidTypeWellKnownGroup = 5, + SidTypeDeletedAccount = 6, + SidTypeInvalid = 7, + SidTypeUnknown = 8, + SidTypeComputer = 9, + SidTypeLabel = 10 + } SID_NAME_USE; + + typedef struct { + domsid *lgrmi0_sid; + } LOCALGROUP_MEMBERS_INFO_0; + + typedef struct { + domsid *lgrmi1_sid; + SID_NAME_USE lgrmi1_sidusage; + string lgrmi1_name; + } LOCALGROUP_MEMBERS_INFO_1; + + typedef struct { + domsid *lgrmi2_sid; + SID_NAME_USE lgrmi2_sidusage; + string lgrmi2_domainandname; + } LOCALGROUP_MEMBERS_INFO_2; + + typedef struct { + string lgrmi3_domainandname; + } LOCALGROUP_MEMBERS_INFO_3; + + [nopush,nopull] NET_API_STATUS NetLocalGroupAddMembers( + [in] string server_name, + [in] string group_name, + [in] uint32 level, + [in] uint8 *buffer, + [in] uint32 total_entries + ); + + /*******************************************/ + /* NetLocalGroupDelMembers */ + /*******************************************/ + + [nopush,nopull] NET_API_STATUS NetLocalGroupDelMembers( + [in] string server_name, + [in] string group_name, + [in] uint32 level, + [in] uint8 *buffer, + [in] uint32 total_entries + ); + + /*******************************************/ + /* NetLocalGroupGetMembers */ + /*******************************************/ + + [nopush,nopull] NET_API_STATUS NetLocalGroupGetMembers( + [in] string server_name, + [in] string local_group_name, + [in] uint32 level, + [out] uint8 **buffer, + [in] uint32 prefmaxlen, + [out] uint32 *entries_read, + [out] uint32 *total_entries, + [in,out] uint32 *resume_handle + ); + + /*******************************************/ + /* NetLocalGroupSetMembers */ + /*******************************************/ + + [nopush,nopull] NET_API_STATUS NetLocalGroupSetMembers( + [in] string server_name, + [in] string group_name, + [in] uint32 level, + [in] uint8 *buffer, + [in] uint32 total_entries + ); + + /*******************************************/ /* NetRemoteTOD */ /*******************************************/ |