s3 auth: Create messaging and lp contexts.
authorGary Lockyer <gary@catalyst.net.nz>
Mon, 28 Jan 2019 02:30:23 +0000 (15:30 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 20 Feb 2019 05:03:08 +0000 (06:03 +0100)
commit826d930aa4de588c84b7c7f993b148c3e7cc757f
tree3c64d079a509aff0cf135bee893a5daa1dc6f50a
parent47cebbe215298ea4f9fb2e6337930e4a19c859a9
s3 auth: Create messaging and lp contexts.

If 'auth event notifications' are enabled create an imessaging_context
and a loadparm_context that can be passed to log_authentication_event.

This will allow the generated authentication messages to be tested.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/auth/auth.c
source3/auth/wscript_build