Author: metze Date: 2005-12-30 14:04:18 +0000 (Fri, 30 Dec 2005) New Revision: 12609
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12609 Log: - add some comments to a change that went in in the last 'fix the build' commit - we need to reply to name queries with the recursion desired bit set, to pass the multi homed challenge, when registering our interfaces with a wins server metze Modified: branches/SAMBA_4_0/source/nbt_server/query.c Changeset: Modified: branches/SAMBA_4_0/source/nbt_server/query.c =================================================================== --- branches/SAMBA_4_0/source/nbt_server/query.c 2005-12-30 13:16:54 UTC (rev 12608) +++ branches/SAMBA_4_0/source/nbt_server/query.c 2005-12-30 14:04:18 UTC (rev 12609) @@ -71,9 +71,15 @@ return; } + /* + * normally we should forward all queries with the + * recursion desired flag to the wins server, but this + * breaks are winsclient code, when doing mhomed registrations + */ if (!(packet->operation & NBT_FLAG_BROADCAST) && (packet->operation & NBT_FLAG_RECURSION_DESIRED) && - (iname->nb_flags & NBT_NM_GROUP)) { + (iname->nb_flags & NBT_NM_GROUP) && + lp_wins_support()) { nbtd_winsserver_request(nbtsock, packet, src); return; }
