mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
rpc_server: Improve a debug message
A client sending us a bind with an unknown interface should not spam syslog by default. Also, show what interface the client tried to connect to. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
05ebafd91e
commit
6aa0cc2570
@ -738,7 +738,10 @@ static bool api_pipe_bind_req(struct pipes_struct *p,
|
||||
|
||||
table = ndr_table_by_uuid(&id.uuid);
|
||||
if (table == NULL) {
|
||||
DEBUG(0,("unknown interface\n"));
|
||||
char *iface = ndr_syntax_id_to_string(talloc_tos(), &id);
|
||||
DBG_NOTICE("unknown interface %s\n",
|
||||
iface ? iface : "<null>");
|
||||
TALLOC_FREE(iface);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user