docs: fix a typo in history file
[bbaumbach/samba-autobuild/.git] / source3 / include / auth.h
index b7223c15036fee6aa58e804b1158c3082d68aa3a..69e53bb708351c37fc441d846fc1e255282b5598 100644 (file)
@@ -30,20 +30,18 @@ struct extra_auth_info {
 
 struct auth_serversupplied_info {
        bool guest;
-       bool system;
 
        struct security_unix_token utok;
 
        /*
-        * NT group information taken from the info3 structure
+        * A complete auth_session_info
         *
         * This is not normally filled in, during the typical
         * authentication process.  If filled in, it has already been
         * finalised by a nasty hack to support a cached guest/system
         * session_info
         */
-
-       struct security_token *security_token;
+       const struct auth_session_info *cached_session_info;
 
        /* These are the intermediate session keys, as provided by a
         * NETLOGON server and used by NTLMSSP to negotiate key
@@ -86,6 +84,9 @@ typedef NTSTATUS (*make_auth4_context_fn)(const struct auth_context *auth_contex
 struct auth_context {
        DATA_BLOB challenge; 
 
+       /* What time did this start */
+       struct timeval start_time;
+
        /* Who set this up in the first place? */ 
        const char *challenge_set_by; 
 
@@ -97,7 +98,7 @@ struct auth_context {
        const char *forced_samba4_methods;
 };
 
-typedef struct auth_methods
+struct auth_methods
 {
        struct auth_methods *prev, *next;
        const char *name; /* What name got this module */
@@ -116,7 +117,7 @@ typedef struct auth_methods
 
        uint32_t flags;
 
-} auth_methods;
+};
 
 typedef NTSTATUS (*auth_init_function)(struct auth_context *, const char *, struct auth_methods **);