[Samba] name mangling makes 8.3 unreadable unlike Windows fileserver

Jeremy Allison jra at samba.org
Thu Oct 3 18:48:48 MDT 2013

On Thu, Oct 03, 2013 at 07:14:35PM -0400, Kevin Field wrote:
> >
> Thanks Jeremy!  I'm not sure how I missed that in the docs.  Anyway,
> it is much, much better than before, but still not exactly like
> Windows. For example, we have two folders beginning with C-FZP.

We're never going to give the same mangled names as
Windows, as our mangling algorithms are different.
We don't depend on having full access to all directory
entries when we create them.

> Instead of C-FZPD~1 and C-FZPP~1, which in our context is exactly
> enough to tell which one we want, it's a bit (or in this case...a
> byte) more aggressive in hashing and makes it C-FZP~59 and C-FZP~A5,
> so that we can no longer tell and have to guess.
> Oh but wait, now I see:
> "The minimum value is 1 and the maximum value is 6.
> "mangle prefix is effective only when mangling method is hash2."
> This does exactly what we want!  And now I also see how I think I
> missed it: this parameter isn't in the "NAME MANGLING" section.

Well, glad you got it working anyway :-).


More information about the samba mailing list