summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-06-05 03:09:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:28 -0500
commit306fcbd06340af692cc9b2c76334de672e4006a5 (patch)
tree75f74e80984b4be5fd5abed247a249517198d874 /source4
parenta851ab6fdbf8dc02fe9f7d0dd5541e0d01b5a2c1 (diff)
downloadsamba-306fcbd06340af692cc9b2c76334de672e4006a5.tar.gz
samba-306fcbd06340af692cc9b2c76334de672e4006a5.tar.bz2
samba-306fcbd06340af692cc9b2c76334de672e4006a5.zip
r1023: Prepare the auth subsystem interfaces for netlogon SamLogon to use.
Andrew Bartlett (This used to be commit b5fa2baaa9e110aa93107b13744e1fc5a64adbb5)
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/auth.h28
1 files changed, 20 insertions, 8 deletions
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