summaryrefslogtreecommitdiff
path: root/auth/common_auth.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2017-02-20 12:04:52 +1300
committerAndrew Bartlett <abartlet@samba.org>2017-03-29 02:37:25 +0200
commit9e09e68d4777a722759262e877d443d6bb93b592 (patch)
tree00c9ac5a0b18998eca35f35fa121a1c52d635e35 /auth/common_auth.h
parenteaa59ed34528e77e21c4d03c39fe806d918a898f (diff)
downloadsamba-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.h9
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;