From eb97fc7d5a9e3285636d3c4cc0954115a8a5bc09 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. (This used to be commit c43b7e29baea84e18b07f2d8bfdb2628b86fd59c) --- source3/nameservreply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) */ -- cgit