hash2 mangling alghorithm

Esh, Andrew AEsh at tricord.com
Fri May 31 05:53:31 GMT 2002


Why not just use a different hash character for the new code, and keep the
old unhashing code? Old hashed names can still be read, and new hashed names
can still be stored and read. No confusion would take place.

-----Original Message-----
From: Simo Sorce [mailto:idra at samba.org]
Sent: Friday, May 31, 2002 5:21 AM
To: samba-technical at samba.org; samba at samba.org
Cc: Jeremy Allison
Subject: hash2 mangling alghorithm



I just want to warn people that want to use the new hashing algorithm
for mangled names.

And that note should also be put in the man page IMO.

You must understand that changing the hashing algorithm on a production
server may have unwanted side effects (this is why we maintain by
default hash and not hash2 and why it was not back ported to 2.2
initially).

Windows clients may save all around (registry, config files, ecc..)
mangled paths to files need for programs to work correctly.

If you change the hash algorithm these paths will become unusable as the
new mangled name will be different.

I would advice to use the new hashing algorithm in new installations and
switch to the new one for old ones only if really necessary to make
things work (lot of conflicts), and in this case be prepared to
reinstall some app or manually change some registry/config file to
reflect the new mangled names.

So do not just "try" this option, plan to use it carefully.

Simo.

-- 
Simo Sorce
----------
Una scelta di liberta': Software Libero.
A choice of freedom: Free Software.
http://www.softwarelibero.it
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba-technical mailing list