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

Christopher R. Hertel crh at
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.  

Chris -)-----

"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team --     -)-----   Christopher R. Hertel
jCIFS Team --   -)-----   ubiqx development, uninq.
ubiqx Team --     -)-----   crh at
OnLineBook --    -)-----   crh at

More information about the samba-technical mailing list