From 306fcbd06340af692cc9b2c76334de672e4006a5 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 5 Jun 2004 03:09:38 +0000 Subject: r1023: Prepare the auth subsystem interfaces for netlogon SamLogon to use. Andrew Bartlett (This used to be commit b5fa2baaa9e110aa93107b13744e1fc5a64adbb5) --- source4/auth/auth.h | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) (limited to 'source4') diff --git a/source4/auth/auth.h b/source4/auth/auth.h index c8347cad20..8ef8ffcc18 100644 --- a/source4/auth/auth.h +++ b/source4/auth/auth.h @@ -42,8 +42,8 @@ struct auth_usersupplied_info DATA_BLOB lm_resp; DATA_BLOB nt_resp; - DATA_BLOB lm_interactive_pwd; - DATA_BLOB nt_interactive_pwd; + DATA_BLOB lm_interactive_password; + DATA_BLOB nt_interactive_password; DATA_BLOB plaintext_password; BOOL encrypted; @@ -56,12 +56,6 @@ struct auth_usersupplied_info }; -#define SAM_FILL_NAME 0x01 -#define SAM_FILL_INFO3 0x02 -#define SAM_FILL_SAM 0x04 -#define SAM_FILL_UNIX 0x08 -#define SAM_FILL_ALL (SAM_FILL_NAME | SAM_FILL_INFO3 | SAM_FILL_SAM | SAM_FILL_UNIX) - struct auth_serversupplied_info { TALLOC_CTX *mem_ctx; @@ -76,7 +70,25 @@ struct auth_serversupplied_info DATA_BLOB user_session_key; DATA_BLOB lm_session_key; + + char *account_name; + char *full_name; + char *logon_script; + char *profile_path; + char *home_dir; + char *home_drive; + + NTTIME logon_time; + NTTIME logoff_time; + NTTIME kickoff_time; + NTTIME password_last_set; + NTTIME password_can_change; + NTTIME password_must_change; + + uint16 logon_count; + uint16 bad_password_count; + uint32 acct_flags; }; struct auth_session_info -- cgit