summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-11-28 11:15:29 +0100
committerGünther Deschner <gd@samba.org>2008-11-28 14:16:51 +0100
commit143097d71c15c1624446b56205639e0b863d35fe (patch)
tree222d10c716a31836a6c5e01e80f2cb527feb31a4 /source3/include/proto.h
parent580c2b3283cfa0f55a5c7e4632a2a101a036b364 (diff)
downloadsamba-143097d71c15c1624446b56205639e0b863d35fe.tar.gz
samba-143097d71c15c1624446b56205639e0b863d35fe.tar.bz2
samba-143097d71c15c1624446b56205639e0b863d35fe.zip
s3-samr: add init_samr_user_info25 and init_samr_user_info26.
Guenther
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 0087b5bb4d..2dd9b61b56 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -5737,6 +5737,39 @@ void init_samr_user_info23(struct samr_UserInfo23 *r,
void init_samr_user_info24(struct samr_UserInfo24 *r,
struct samr_CryptPassword *pwd_buf,
uint8_t password_expired);
+void init_samr_user_info25(struct samr_UserInfo25 *r,
+ NTTIME last_logon,
+ NTTIME last_logoff,
+ NTTIME last_password_change,
+ NTTIME acct_expiry,
+ NTTIME allow_password_change,
+ NTTIME force_password_change,
+ const char *account_name,
+ const char *full_name,
+ const char *home_directory,
+ const char *home_drive,
+ const char *logon_script,
+ const char *profile_path,
+ const char *description,
+ const char *workstations,
+ const char *comment,
+ struct lsa_BinaryString *parameters,
+ uint32_t rid,
+ uint32_t primary_gid,
+ uint32_t acct_flags,
+ uint32_t fields_present,
+ struct samr_LogonHours logon_hours,
+ uint16_t bad_password_count,
+ uint16_t logon_count,
+ uint16_t country_code,
+ uint16_t code_page,
+ uint8_t nt_password_set,
+ uint8_t lm_password_set,
+ uint8_t password_expired,
+ struct samr_CryptPasswordEx *pwd_buf);
+void init_samr_user_info26(struct samr_UserInfo26 *r,
+ struct samr_CryptPasswordEx *pwd_buf,
+ uint8_t password_expired);
void init_samr_CryptPasswordEx(const char *pwd,
DATA_BLOB *session_key,
struct samr_CryptPasswordEx *pwd_buf);