summaryrefslogtreecommitdiffstats
path: root/source/nameservreply.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-11-18 04:12:54 +0000
committerAndrew Tridgell <tridge@samba.org>1997-11-18 04:12:54 +0000
commitc43b7e29baea84e18b07f2d8bfdb2628b86fd59c (patch)
treed3a91a4833e5c44e6f37a49349c7af9831544b66 /source/nameservreply.c
parentc28487df63e29bc0f8d2ece876a07a2a076d4c73 (diff)
downloadsamba-c43b7e29baea84e18b07f2d8bfdb2628b86fd59c.tar.gz
samba-c43b7e29baea84e18b07f2d8bfdb2628b86fd59c.tar.xz
samba-c43b7e29baea84e18b07f2d8bfdb2628b86fd59c.zip
don't do the 255.255.255.255 mapping for group names if the name type
is 0x1c. This allows remote logon servers when using a Samba WINS server. I did some experiments with a real NT WINS server and this behaviour is much closer to being correct. It will only be totally correct when we add proper group name support.
Diffstat (limited to 'source/nameservreply.c')
-rw-r--r--source/nameservreply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nameservreply.c b/source/nameservreply.c
index d1cbbb026d5..6c7bfde03e2 100644
--- a/source/nameservreply.c
+++ b/source/nameservreply.c
@@ -201,7 +201,7 @@ void reply_name_reg(struct packet_struct *p)
DEBUG(3,("Name registration for name %s at %s - ",
namestr(question),inet_ntoa(ip)));
- if (group)
+ if (group && (qname_type != 0x1c))
{
/* apparently we should return 255.255.255.255 for group queries
(email from MS) */