1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

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 commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent c28487df63
commit c43b7e29ba

View 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) */