diff options
author | Andrew Bartlett <abartlet@samba.org> | 2017-02-20 12:04:52 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2017-03-29 02:37:25 +0200 |
commit | 9e09e68d4777a722759262e877d443d6bb93b592 (patch) | |
tree | 00c9ac5a0b18998eca35f35fa121a1c52d635e35 /auth/common_auth.h | |
parent | eaa59ed34528e77e21c4d03c39fe806d918a898f (diff) | |
download | samba-9e09e68d4777a722759262e877d443d6bb93b592.tar.gz |
s4-netlogon: Remember many more details in the auth_usersupplied info for future logs
This will allow a very verbose JSON line to be logged that others can audit from in the future
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-by: Gary Lockyer <gary@catalyst.net.nz>
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'auth/common_auth.h')
-rw-r--r-- | auth/common_auth.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/auth/common_auth.h b/auth/common_auth.h index 95b36cd334f..db450ce883d 100644 --- a/auth/common_auth.h +++ b/auth/common_auth.h @@ -45,6 +45,7 @@ struct auth_usersupplied_info { const char *workstation_name; const struct tsocket_address *remote_host; + const struct tsocket_address *local_host; uint32_t logon_parameters; @@ -71,6 +72,14 @@ struct auth_usersupplied_info char *plaintext; } password; uint32_t flags; + + struct { + uint32_t negotiate_flags; + enum netr_SchannelType secure_channel_type; + const char *computer_name; /* [charset(UTF8)] */ + const char *account_name; /* [charset(UTF8)] */ + struct dom_sid *sid; /* [unique] */ + } netlogon_trust_account; }; struct auth_method_context; |