[Samba] Re: String overflow in safe_strcpy - bug in documentation

Carl Matthews cmatthews at myrealbox.com
Mon Jul 26 09:21:09 GMT 2004


Hi Jeremy,

Ive been checking the svn for mangling fixes but didnt see any should i 
just add it to bugzilla so it theres a record of it?

Cheers
Carl.


> On Tue, Jul 20, 2004 at 09:51:25PM +0200, Thomas Bork wrote:
> 
>>Herb Lewis schrieb:
>>
>>
>>>you can change "mangle prefix" to specify the number of characters you
>>>want to stay the same. Just remember the more letters that remain the
>>>same the more likely you will get a collision and slow things down.
>>
>>http://de.samba.org/samba/docs/man/smb.conf.5.html
>>
>>mangling method (G)
>>controls the algorithm used for the generating the mangled names. Can 
>>take two different values, "hash" and "hash2". "hash" is the default and
>>                                               ^^^^^^^^^^^^^^^^^^^^
>>is the algorithm that has been used in Samba for many years. "hash2" is 
>>a newer and considered a better algorithm (generates less collisions) in 
>>the names. However, many Win32 applications store the mangled names and 
>>so changing to the new algorithm must not be done lightly as these 
>>applications may break unless reinstalled.
>>
>>Default: mangling method = hash2
>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>Example: mangling method = hash
>>
>>
>>But:
>>"hash" is not the default (this was in 2.2.x)
> 
> 
> Fixed in the SVN docs - thanks a *lot* !
> 
> Jeremy.



More information about the samba mailing list