diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-15 08:06:39 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-15 08:06:39 +0000 |
commit | 497e01e93e642ce8dd9ef77d0c3f0e61e19a765d (patch) | |
tree | b753e3697e15832543a8b14e719952b3b3efcf74 /source4/librpc/idl | |
parent | bcfbaa312a8493aa2b6ef76a7ebeee55625e5a9c (diff) | |
download | samba-497e01e93e642ce8dd9ef77d0c3f0e61e19a765d.tar.gz samba-497e01e93e642ce8dd9ef77d0c3f0e61e19a765d.tar.bz2 samba-497e01e93e642ce8dd9ef77d0c3f0e61e19a765d.zip |
added samr_OpenDomain() and samr_QueryDomainInfo() level 1
(This used to be commit 2d9c055c1be7187ae890e46edba74bf4fedbc9db)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/samr.idl | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl index 6017f73f4e..440b5ab9e7 100644 --- a/source4/librpc/idl/samr.idl +++ b/source4/librpc/idl/samr.idl @@ -72,11 +72,33 @@ /************************/ /* Function 0x07 */ - NTSTATUS samr_OPEN_DOMAIN(); + NTSTATUS samr_OpenDomain( + [in,ref] policy_handle *handle, + [in] uint32 access_mask, + [in,ref] dom_sid2 *sid, + [out,ref] policy_handle *domain_handle + ); /************************/ /* Function 0x08 */ - NTSTATUS samr_QUERY_DOMAIN_INFO(); + + typedef struct { + uint16 min_length_password; + uint16 password_history; + uint32 flag; + NTTIME expire; + NTTIME min_passwordage; + } samr_DomInfo1; + + typedef union { + case(1) samr_DomInfo1 info1; + } samr_DomainInfo; + + NTSTATUS samr_QueryDomainInfo( + [in,ref] policy_handle *handle, + [in] uint16 level, + [out,switch_is(level)] samr_DomainInfo *info + ); /************************/ /* Function 0x09 */ |