auth: Add hooks for notification of authentication events over the message bus
[samba.git] / source4 / auth / ntlm / auth_simple.c
index a00d8d4dd2bc72752bc9a5c8ceea6f7fa3136ac8..7e434d7d3c21241ec8a039df349d74abcf5205ef 100644 (file)
@@ -130,7 +130,9 @@ _PUBLIC_ NTSTATUS authenticate_ldap_simple_bind(TALLOC_CTX *mem_ctx,
                talloc_steal(mem_ctx, *session_info);
        }
 
-       log_successful_authz_event(remote_address,
+       log_successful_authz_event(auth_context->msg_ctx,
+                                  auth_context->lp_ctx,
+                                  remote_address,
                                   local_address,
                                   "LDAP",
                                   "simple bind",