don't do the 255.255.255.255 mapping for group names if the name type
authorAndrew Tridgell <tridge@samba.org>
Tue, 18 Nov 1997 04:12:54 +0000 (04:12 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 18 Nov 1997 04:12:54 +0000 (04:12 +0000)
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

index d1cbbb026d5fd207f8d43b1d49f3f3941cfd2b40..6c7bfde03e2d165edbd11c3c6e662f7d8b1036e0 100644 (file)
@@ -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) */