summaryrefslogtreecommitdiff
path: root/source4/nbt_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-12-22 09:37:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:37 -0500
commit0e77fdc0b9a0301f4f9e7148963ac504129d021a (patch)
tree45621cfa91ada393e415a84356de04e0f773dbb7 /source4/nbt_server
parent77f4910b57db6264d5b6b7f67cab3518a2f2ca4a (diff)
downloadsamba-0e77fdc0b9a0301f4f9e7148963ac504129d021a.tar.gz
samba-0e77fdc0b9a0301f4f9e7148963ac504129d021a.tar.bz2
samba-0e77fdc0b9a0301f4f9e7148963ac504129d021a.zip
r12428: releases on 0x1D names are ignored
metze (This used to be commit 84ba71ba274fca91f6f411a46e0a88dc3048df63)
Diffstat (limited to 'source4/nbt_server')
-rw-r--r--source4/nbt_server/wins/winsserver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/nbt_server/wins/winsserver.c b/source4/nbt_server/wins/winsserver.c
index 9bbd8c6432..78bf0bd141 100644
--- a/source4/nbt_server/wins/winsserver.c
+++ b/source4/nbt_server/wins/winsserver.c
@@ -395,6 +395,10 @@ static void nbtd_winsserver_release(struct nbt_name_socket *nbtsock,
uint32_t modify_flags = 0;
uint8_t ret;
+ if (name->type == NBT_NAME_MASTER) {
+ goto done;
+ }
+
status = winsdb_lookup(winssrv->wins_db, name, packet, &rec);
if (!NT_STATUS_IS_OK(status)) {
goto done;