Adding Recursion Available bit to name_query and node_status_query
crh at ubiqx.mn.org
Tue May 14 06:54:07 GMT 2002
RFC 1002: 18.104.22.168:
RA 3 Recursion Available Flag.
Only valid in responses from a NetBIOS Name
Server -- must be zero in all other
..so Microsoft are getting it wrong. Not surprising, I suppose. The
RFCs are contradictory at times. In this case, 1002:4.2.15 says:
An end node responding to a NAME QUERY REQUEST always responds
with the AA and RA bits set for both the NEGATIVE and POSITIVE
NAME QUERY RESPONSE packets.
Which is obviously a contradiction. Dang them. I personally think that
the first should be the correct behavior as "Recursion Available" should
mean that the ability to go beyond the local name table, and talk to the
NBNS database, is available.
Just a question...are you sure you're checking RA and not RD? RD is also
set on almost everything.
On Tue, May 14, 2002 at 05:03:46PM +0930, Richard Sharpe wrote:
> On Mon, 13 May 2002, Christopher R. Hertel wrote:
> > Sorry. Just to be clear, the older version of Samba that I'm running
> > returns RA TRUE *if* it is running as a WINS server.
> > I don't know what a newer version of Samba does, but I doubt this has
> > changed and I really should check to see what W/NT and W2K do if they are
> > running the WINS server.
> Well, Samba 2,2,3pre that is not a WINS server sets RA, as does Win2K that
> is not a WINS server, but so too does WinNT that is a DC and WINS server
> and Win2K that is a WINS server,
> Looke like all and sundry set the bit!
> Richard Sharpe, rsharpe at ns.aus.com, rsharpe at samba.org,
> sharpe at ethereal.com
Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
More information about the samba-technical