auth log: Add windows logon type codes
authorGary Lockyer <gary@catalyst.net.nz>
Thu, 13 Dec 2018 01:46:31 +0000 (14:46 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 14 Dec 2018 17:57:52 +0000 (18:57 +0100)
commitac51f1551dafd90d7c71393f9a8ec2f87da72c18
tree9db52022a96fa4c0dbfe350ed2b6f316655384fc
parentb7baf96bd7248b1d34416e3ae86f4613c5ed0934
auth log: Add windows logon type codes

Add a new "logonType" element to the Authorisation JSON log messages.
This contains a Windows Logon Type, the supported logon types are:
2 Interactive
3 Network
8 NetworkCleartext

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/auth_log.c
python/samba/tests/auth_log.py
python/samba/tests/auth_log_ncalrpc.py
python/samba/tests/auth_log_netlogon.py
python/samba/tests/auth_log_netlogon_bad_creds.py
python/samba/tests/auth_log_pass_change.py
python/samba/tests/auth_log_samlogon.py