1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-24 13:57:43 +03:00

r13807: print out the netbios name the packet is for

metze
This commit is contained in:
Stefan Metzmacher 2006-03-03 08:01:09 +00:00 committed by Gerald (Jerry) Carter
parent 4257fd91ce
commit e73cc5060c
3 changed files with 9 additions and 6 deletions

View File

@ -73,8 +73,9 @@ void nbtd_mailslot_browse_handler(struct dgram_mailslot_handler *dgmslot,
return; return;
failed: failed:
DEBUG(2,("nbtd browse handler failed from %s:%d - %s\n", DEBUG(2,("nbtd browse handler failed from %s:%d to %s - %s\n",
src->addr, src->port, nt_errstr(status))); src->addr, src->port, nbt_name_string(browse, name),
nt_errstr(status)));
talloc_free(browse); talloc_free(browse);
} }

View File

@ -249,7 +249,8 @@ void nbtd_mailslot_netlogon_handler(struct dgram_mailslot_handler *dgmslot,
return; return;
failed: failed:
DEBUG(2,("nbtd netlogon handler failed from %s:%d - %s\n", DEBUG(2,("nbtd netlogon handler failed from %s:%d to %s - %s\n",
src->addr, src->port, nt_errstr(status))); src->addr, src->port, nbt_name_string(netlogon, name),
nt_errstr(status)));
talloc_free(netlogon); talloc_free(netlogon);
} }

View File

@ -108,7 +108,8 @@ void nbtd_mailslot_ntlogon_handler(struct dgram_mailslot_handler *dgmslot,
return; return;
failed: failed:
DEBUG(2,("nbtd ntlogon handler failed from %s:%d - %s\n", DEBUG(2,("nbtd ntlogon handler failed from %s:%d to %s - %s\n",
src->addr, src->port, nt_errstr(status))); src->addr, src->port, nbt_name_string(ntlogon, name),
nt_errstr(status)));
talloc_free(ntlogon); talloc_free(ntlogon);
} }