summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-03 08:01:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:12 -0500
commitde3867e71257c88412c6d74f3c646661e717bf24 (patch)
treeb64166c9b40e135da5f532bd1613b2508d668e9b
parentaf03a9b8fbe32d9c7a2bcd1d4cb377b44894d666 (diff)
downloadsamba-de3867e71257c88412c6d74f3c646661e717bf24.tar.gz
samba-de3867e71257c88412c6d74f3c646661e717bf24.tar.bz2
samba-de3867e71257c88412c6d74f3c646661e717bf24.zip
r13807: print out the netbios name the packet is for
metze (This used to be commit e73cc5060c4cf4ac286c407fb8a323ce6be6b79c)
-rw-r--r--source4/nbt_server/dgram/browse.c5
-rw-r--r--source4/nbt_server/dgram/netlogon.c5
-rw-r--r--source4/nbt_server/dgram/ntlogon.c5
3 files changed, 9 insertions, 6 deletions
diff --git a/source4/nbt_server/dgram/browse.c b/source4/nbt_server/dgram/browse.c
index 5a93cb91d3..4cef705f02 100644
--- a/source4/nbt_server/dgram/browse.c
+++ b/source4/nbt_server/dgram/browse.c
@@ -73,8 +73,9 @@ void nbtd_mailslot_browse_handler(struct dgram_mailslot_handler *dgmslot,
return;
failed:
- DEBUG(2,("nbtd browse handler failed from %s:%d - %s\n",
- src->addr, src->port, nt_errstr(status)));
+ DEBUG(2,("nbtd browse handler failed from %s:%d to %s - %s\n",
+ src->addr, src->port, nbt_name_string(browse, name),
+ nt_errstr(status)));
talloc_free(browse);
}
diff --git a/source4/nbt_server/dgram/netlogon.c b/source4/nbt_server/dgram/netlogon.c
index 5ba826cc33..2c8ef5e772 100644
--- a/source4/nbt_server/dgram/netlogon.c
+++ b/source4/nbt_server/dgram/netlogon.c
@@ -249,7 +249,8 @@ void nbtd_mailslot_netlogon_handler(struct dgram_mailslot_handler *dgmslot,
return;
failed:
- DEBUG(2,("nbtd netlogon handler failed from %s:%d - %s\n",
- src->addr, src->port, nt_errstr(status)));
+ DEBUG(2,("nbtd netlogon handler failed from %s:%d to %s - %s\n",
+ src->addr, src->port, nbt_name_string(netlogon, name),
+ nt_errstr(status)));
talloc_free(netlogon);
}
diff --git a/source4/nbt_server/dgram/ntlogon.c b/source4/nbt_server/dgram/ntlogon.c
index dad80fbe7d..580422f1de 100644
--- a/source4/nbt_server/dgram/ntlogon.c
+++ b/source4/nbt_server/dgram/ntlogon.c
@@ -108,7 +108,8 @@ void nbtd_mailslot_ntlogon_handler(struct dgram_mailslot_handler *dgmslot,
return;
failed:
- DEBUG(2,("nbtd ntlogon handler failed from %s:%d - %s\n",
- src->addr, src->port, nt_errstr(status)));
+ DEBUG(2,("nbtd ntlogon handler failed from %s:%d to %s - %s\n",
+ src->addr, src->port, nbt_name_string(ntlogon, name),
+ nt_errstr(status)));
talloc_free(ntlogon);
}