diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-15 10:03:12 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-15 10:03:12 +0000 |
commit | 42a25ebb75f29c9d67232312c99ecbd5555e50b2 (patch) | |
tree | bc1eab00d99c771b02f7b496220f91753cbc4ea1 /source4/librpc/idl/samr.idl | |
parent | 4063fd08d4be4b9c91db092b0028f91941700d86 (diff) | |
download | samba-42a25ebb75f29c9d67232312c99ecbd5555e50b2.tar.gz samba-42a25ebb75f29c9d67232312c99ecbd5555e50b2.tar.bz2 samba-42a25ebb75f29c9d67232312c99ecbd5555e50b2.zip |
added samr_OpenUser, samr_EnumDomainAliases and samr_QueryUserInfo level 1
(This used to be commit e7edeec60e274c1460f7c8cc0fb4121b37e1bcd7)
Diffstat (limited to 'source4/librpc/idl/samr.idl')
-rw-r--r-- | source4/librpc/idl/samr.idl | 33 |
1 files changed, 30 insertions, 3 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl index ee910361e9..c703f99817 100644 --- a/source4/librpc/idl/samr.idl +++ b/source4/librpc/idl/samr.idl @@ -223,7 +223,13 @@ /************************/ /* Function 0x0f */ - NTSTATUS samr_ENUM_DOM_ALIASES(); + NTSTATUS samr_EnumDomainAliases( + [in,ref] policy_handle *handle, + [in,out,ref] uint32 *resume_handle, + [in] uint32 max_size, + [out] samr_SamArray *sam, + [out,ref] uint32 num_entries + ); /************************/ /* Function 0x10 */ @@ -299,7 +305,12 @@ /************************/ /* Function 0x22 */ - NTSTATUS samr_OPEN_USER(); + NTSTATUS samr_OpenUser( + [in,ref] policy_handle *handle, + [in] uint32 access_mask, + [in] uint32 rid, + [out,ref] policy_handle *acct_handle + ); /************************/ /* Function 0x23 */ @@ -307,7 +318,23 @@ /************************/ /* Function 0x24 */ - NTSTATUS samr_QUERY_USERINFO(); + typedef struct { + samr_Name username; + samr_Name full_name; + uint32 primary_group_rid; + samr_Name description; + samr_Name comment; + } samr_UserInfo1; + + typedef union { + case(1) samr_UserInfo1 info1; + } samr_UserInfo; + + NTSTATUS samr_QueryUserInfo( + [in,ref] policy_handle *handle, + [in] uint16 level, + [out,switch_is(level)] samr_UserInfo *info + ); /************************/ /* Function 0x25 */ |