From b4f94f5afafbe4f72f209e0058fa35799c2aceb2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 4 May 2004 13:42:32 +0000 Subject: r469: considerably improved the ChangePasswordUser3() IDL thanks to an idea from abartlet (This used to be commit 5f30c3b077b59fc7ec40644e3af7236292100c6b) --- source4/librpc/idl/samr.idl | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'source4/librpc/idl/samr.idl') diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl index 626a4b579e..c3dd05fd2d 100644 --- a/source4/librpc/idl/samr.idl +++ b/source4/librpc/idl/samr.idl @@ -112,11 +112,11 @@ /* Function 0x08 */ typedef struct { - uint16 min_length_password; + uint16 min_pwd_len; uint16 password_history; - uint32 flag; - NTTIME expire; - NTTIME min_passwordage; + uint32 password_properties; + ULONG8 max_password_age; + ULONG8 min_password_age; } samr_DomInfo1; typedef struct { @@ -1128,6 +1128,13 @@ /************************/ /* Function 0x3f */ + + typedef struct { + uint32 unknown1; + uint32 unknown2; + uint32 unknown3; + } samr_ChangeReject; + NTSTATUS samr_ChangePasswordUser3( [in] samr_Name *server, [in,ref] samr_Name *account, @@ -1137,8 +1144,8 @@ [in] samr_CryptPassword *lm_password, [in] samr_Hash *lm_verifier, [in] samr_CryptPassword *password3, - [out] uint32 unknown1, - [out] uint32 unknown2 + [out] samr_DomInfo1 *dominfo, + [out] samr_ChangeReject *reject ); /************************/ -- cgit