auth log: Add windows event codes
authorGary Lockyer <gary@catalyst.net.nz>
Wed, 12 Dec 2018 21:20:28 +0000 (10:20 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 14 Dec 2018 17:57:52 +0000 (18:57 +0100)
commitb7baf96bd7248b1d34416e3ae86f4613c5ed0934
treecb36bd98a15cc007f9759f26ab03d86f6609a6a2
parentcb23a0345f1ef4297f6643c25ebe955b9aaee54c
auth log: Add windows event codes

Add a new "eventId" element to the Authorisation JSON log messages.
This contains a Windows Event Code Id either:
4624 Successful logon
4625 Unsuccessful logon

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