From c43b7e29baea84e18b07f2d8bfdb2628b86fd59c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 18 Nov 1997 04:12:54 +0000 Subject: 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. --- source/nameservreply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/nameservreply.c') 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) */ -- cgit