[Samba] Question about DOS 8.3 mangling files name

Jeremy Allison jra at samba.org
Wed Sep 17 16:59:42 GMT 2003

On Wed, Sep 17, 2003 at 11:53:15AM -0400, Liz Muth wrote:
> I recently switched to using Samba as our PDC and for our file sharing 
> where I work.  This includes a share which we moved from a Windows 
> server for an ERP system that does not handle long file names, and has 
> the names written into data fields the way Windows hashes them.  I 
> realize the advantages to the way Samba does the hash, but I was 
> wondering what it would take to make this fully compatible.  For 
> instance, can you point me in the correct direction to modify the Samba 
> 2.2 code so it mangles names the same way as Windows would?  We are 
> also pursuing the makers of the software to see if they can leap into 
> this century and support long file names.

You'll have to work out the algorithm Microsoft uses and implement
it as a new "mangle_hashXX" type. I'm not sure Microsoft document


More information about the samba mailing list