mirror of
https://github.com/samba-team/samba.git
synced 2025-07-29 15:42:04 +03:00
auth: Add hooks for notification of authentication events over the message bus
This will allow tests to be written to confirm the correct events are triggered. We pass in a messaging context from the callers Signed-off-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
@ -1285,7 +1285,9 @@ NTSTATUS ldapsrv_do_call(struct ldapsrv_call *call)
|
||||
transport_protection = AUTHZ_TRANSPORT_PROTECTION_TLS;
|
||||
}
|
||||
|
||||
log_successful_authz_event(call->conn->connection->remote_address,
|
||||
log_successful_authz_event(call->conn->connection->msg_ctx,
|
||||
call->conn->connection->lp_ctx,
|
||||
call->conn->connection->remote_address,
|
||||
call->conn->connection->local_address,
|
||||
"LDAP",
|
||||
"no bind",
|
||||
|
Reference in New Issue
Block a user