mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s3-rpc_server: Log authorization to DCE/RPC for anonymous and ncacn_np pass-though
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-by: Gary Lockyer <gary@catalyst.net.nz> Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
parent
f6dd784814
commit
2028b84c16
@ -825,6 +825,17 @@ static bool api_pipe_bind_req(struct pipes_struct *p,
|
||||
p->auth.auth_type = DCERPC_AUTH_TYPE_NONE;
|
||||
p->auth.auth_level = DCERPC_AUTH_LEVEL_NONE;
|
||||
p->auth.auth_context_id = 0;
|
||||
|
||||
/*
|
||||
* Log the authorization to this RPC interface. This
|
||||
* covered ncacn_np pass-through auth, and anonymous
|
||||
* DCE/RPC (eg epmapper, netlogon etc)
|
||||
*/
|
||||
log_successful_authz_event(p->remote_address,
|
||||
p->local_address,
|
||||
table->name,
|
||||
derpc_transport_string_by_transport(p->transport),
|
||||
p->session_info);
|
||||
}
|
||||
|
||||
ZERO_STRUCT(u.bind_ack);
|
||||
|
Loading…
Reference in New Issue
Block a user