ctdb-tests: Don't run setup_ctdb_base() for real cluster
[metze/samba/wip.git] / auth / common_auth.h
index 3de227ee35499b8b6546be658962c02efb55ab69..9f04c9b9cbbbb8be0d373e268b3a49998890d096 100644 (file)
@@ -51,6 +51,7 @@ struct auth_usersupplied_info
 
        bool mapped_state;
        bool was_mapped;
+       uint64_t logon_id;
        /* the values the client gives us */
        struct {
                const char *account_name;
@@ -122,6 +123,9 @@ struct auth4_context {
        /* SAM database for this local machine - to fill in local groups, or to authenticate local NTLM users */
        struct ldb_context *sam_ctx;
 
+       /* The time this authentication started */
+       struct timeval start_time;
+
        /* Private data for the callbacks on this auth context */
        void *private_data;
 
@@ -178,11 +182,11 @@ struct auth4_context {
  */
 void log_authentication_event(struct imessaging_context *msg_ctx,
                              struct loadparm_context *lp_ctx,
+                             const struct timeval *start_time,
                              const struct auth_usersupplied_info *ui,
                              NTSTATUS status,
                              const char *account_name,
                              const char *domain_name,
-                             const char *unix_username,
                              struct dom_sid *sid);
 
 /*