mirror of
https://github.com/samba-team/samba.git
synced 2025-02-12 21:58:10 +03:00
dcesrv_core: add more verbose debugging for missing association groups
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14356 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> (cherry picked from commit ac5818f2dd348e61b4be35505bee00b330ec4450)
This commit is contained in:
parent
465bcb6055
commit
2553c9aede
@ -1135,8 +1135,17 @@ static NTSTATUS dcesrv_bind(struct dcesrv_call_state *call)
|
||||
status = dce_ctx->callbacks->assoc_group.find(
|
||||
call, dce_ctx->callbacks->assoc_group.private_data);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DBG_NOTICE("Failed to find assoc_group 0x%08x: %s\n",
|
||||
call->pkt.u.bind.assoc_group_id, nt_errstr(status));
|
||||
char *raddr = NULL;
|
||||
|
||||
raddr = tsocket_address_string(call->conn->remote_address, call);
|
||||
|
||||
endpoint = dcerpc_binding_get_string_option(
|
||||
call->conn->endpoint->ep_description,
|
||||
"endpoint");
|
||||
|
||||
DBG_WARNING("Failed to find assoc_group 0x%08x on ep[%s] raddr[%s]: %s\n",
|
||||
call->pkt.u.bind.assoc_group_id,
|
||||
endpoint, raddr, nt_errstr(status));
|
||||
return dcesrv_bind_nak(call, 0);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user