diff options
author | Günther Deschner <gd@samba.org> | 2006-02-10 23:09:00 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:10:03 -0500 |
commit | e83c7d0141c0726a74c7be48914e94bac7167ab1 (patch) | |
tree | ed3cab005159222c95c191d2fadd8eb3979beef7 /source3/include | |
parent | e493d329122e16a70f9f858aaa9ba51d20eba3c7 (diff) | |
download | samba-e83c7d0141c0726a74c7be48914e94bac7167ab1.tar.gz samba-e83c7d0141c0726a74c7be48914e94bac7167ab1.tar.bz2 samba-e83c7d0141c0726a74c7be48914e94bac7167ab1.zip |
r13442: Implement samr_chgpasswd_user3 server-side.
Guenther
(This used to be commit f60eddc0a4dfe623e5f115533a62c03810fd5f38)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/rpc_samr.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h index e0b179224d..3af7d5c720 100644 --- a/source3/include/rpc_samr.h +++ b/source3/include/rpc_samr.h @@ -143,7 +143,7 @@ SamrTestPrivateFunctionsUser #define SAMR_CONNECT 0x39 #define SAMR_SET_USERINFO 0x3A #define SAMR_CONNECT4 0x3E -#define SAMR_CHGPASSWD3 0x3F +#define SAMR_CHGPASSWD_USER3 0x3F #define SAMR_CONNECT5 0x40 typedef struct logon_hours_info @@ -1826,7 +1826,7 @@ typedef struct r_samr_chgpasswd_user_info } SAMR_R_CHGPASSWD_USER; /* SAMR_Q_CHGPASSWD3 */ -typedef struct q_samr_chgpasswd3 +typedef struct q_samr_chgpasswd_user3 { uint32 ptr_0; @@ -1846,7 +1846,7 @@ typedef struct q_samr_chgpasswd3 SAMR_ENC_PASSWD password3; -} SAMR_Q_CHGPASSWD3; +} SAMR_Q_CHGPASSWD_USER3; #define REJECT_REASON_TOO_SHORT 0x00000001 #define REJECT_REASON_IN_HISTORY 0x00000002 @@ -1862,13 +1862,15 @@ typedef struct samr_change_reject } SAMR_CHANGE_REJECT; /* SAMR_R_CHGPASSWD3 */ -typedef struct r_samr_chgpasswd3 +typedef struct r_samr_chgpasswd_user3 { - SAM_UNK_INFO_1 info; - SAMR_CHANGE_REJECT reject; + uint32 ptr_info; + uint32 ptr_reject; + SAM_UNK_INFO_1 *info; + SAMR_CHANGE_REJECT *reject; NTSTATUS status; /* 0 == OK, C000006A (NT_STATUS_WRONG_PASSWORD) */ -} SAMR_R_CHGPASSWD3; +} SAMR_R_CHGPASSWD_USER3; |