svn commit: samba r5118 - in branches/SAMBA_4_0/source: librpc/idl librpc/ndr nbt_server

Christopher R. Hertel crh at ubiqx.mn.org
Mon Jan 31 04:59:59 GMT 2005


On Mon, Jan 31, 2005 at 04:15:59AM +0000, tridge at samba.org wrote:
> Author: tridge
> Date: 2005-01-31 04:15:58 +0000 (Mon, 31 Jan 2005)
> New Revision: 5118
> 
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5118
> 
> Log:
> added support for node status replies in nbtd. nmblookup -S now works against Samba4.
> Also added support for the '*' wildcard name

A note here...

>From my testing, Windows systems do not decode the half-ascii NBT names 
received from the wire.  They compare encoded string against encoded 
string.  That's probably quicker than what Samba1..3 do.

Samba allows both space and nul padding on the wildcard name, Windows only 
allows (RFC-defined) null padding.  Also, Samba will do a case-insensitive 
comparison, where Windows does case-sensitive comparisons (because they 
don't decode and, therefore, can't check upper/lower case).

We're talking about a very few cycles here, but I thought it worth 
mentioning, of only because it's interesting (to me, at least).

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