summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-05-04 13:42:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:45 -0500
commitb4f94f5afafbe4f72f209e0058fa35799c2aceb2 (patch)
treec22d2c0430c9a4cf4f14d62a5d205065cadf3f89 /source4/librpc
parent2c367686fcff32a45c0af84225a8b47d95149e18 (diff)
downloadsamba-b4f94f5afafbe4f72f209e0058fa35799c2aceb2.tar.gz
samba-b4f94f5afafbe4f72f209e0058fa35799c2aceb2.tar.bz2
samba-b4f94f5afafbe4f72f209e0058fa35799c2aceb2.zip
r469: considerably improved the ChangePasswordUser3() IDL thanks to an idea from abartlet
(This used to be commit 5f30c3b077b59fc7ec40644e3af7236292100c6b)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/samr.idl19
1 files changed, 13 insertions, 6 deletions
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
);
/************************/