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

Christopher R. Hertel crh at ubiqx.mn.org
Tue Feb 1 03:09:57 GMT 2005


On Tue, Feb 01, 2005 at 01:48:31PM +1100, Andrew Tridgell wrote:
> Chris,
> 
>  > Try Unicode machine names, though I'm not sure if that's going to do it or 
>  > not.
> 
> I very much doubt it. It would be silly for anyone to use UCS2 or
> UTF16 in NBT names as that would limit the names to 7 characters, and
> the other possible unicode encodings won't have any nul bytes in them.

I am not suggesting that anyone would do this on purpose.  More likely, 
the code was truncating the names.

>  > Yes, what I need is the empirical evidence to present to you and no I 
>  > don't have it at-hand.  Sorry.
> 
> no worries - if you come across an example do please let me know.

I have seen it.  I understand you want first-hand evidence.

Note that it's hard (impossible?) to see this with the normal tools (like 
nmblookup) since they truncate the name at the first nul byte.  I noticed 
it because I was looking at an Ethereal trace.

...but again, it was a while ago and I just don't have the details handy.  
Ugh.

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