RR_TYPE_NULL

Christopher R. Hertel crh at ubiqx.mn.org
Sat Oct 13 23:37:53 GMT 2007


Christopher R. Hertel wrote:
> Digging further...
> 
> Positive responses:  When the query is directed to an end node (recursion
>                      desired is false) the behavior is correct.  Samba does
>                      return type NB.  From the code, it appears that Samba
>                      sends back a NULL type if the query is sent to an NBNS.
>                      I haven't tested this, however.

Nope.  See it now.  Positive responses are correct in all cases.

> Negative Responses:  XP Pro returns type NB but the RFC says NULL.  I think
>                      Samba's okay returning NULL even though it doesn't
>                      match Windows.

Yeah... this is still up in the air for me.  Samba is RFC correct but not
compatible with Windows.

>               WACK:  The RFC is self-contradictory, and Windows returns NB.
> 
> Generally speaking, I haven't seen the RR_TYPE_NULL used by Windows systems
> at all.  Though it somewhat contradicts RFC 1002 (which also contradicts
> itself with regard to the WACK), the use of the RR_TYPE_NB across the board
> does make some sense since all of these packets are NetBIOS ("NB") related.

Still holds.

> Chris -)-----

-- 
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
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 mailing list