summaryrefslogtreecommitdiff
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
commiteb97fc7d5a9e3285636d3c4cc0954115a8a5bc09 (patch)
tree6a4a52fd844d574088e9adee6d8ef547a05e9d52
parent9f804556c4d0bb68f9b7acaf2b679bc0a02ea8f9 (diff)
downloadsamba-eb97fc7d5a9e3285636d3c4cc0954115a8a5bc09.tar.gz
samba-eb97fc7d5a9e3285636d3c4cc0954115a8a5bc09.tar.bz2
samba-eb97fc7d5a9e3285636d3c4cc0954115a8a5bc09.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. (This used to be commit c43b7e29baea84e18b07f2d8bfdb2628b86fd59c)
-rw-r--r--source3/nameservreply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nameservreply.c b/source3/nameservreply.c
index d1cbbb026d..6c7bfde03e 100644
--- a/source3/nameservreply.c
+++ b/source3/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) */