[Samba] name mangling makes 8.3 unreadable unlike Windows fileserver

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Oct 4 04:27:05 MDT 2013


On Fri, Oct 04, 2013 at 08:34:24AM +0200, Klaus Hartnegg wrote:
> On 04.10.2013 01:14, Kevin Field wrote:
> >"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!
> 
> Be warned that this will produce duplicate filenames.
> Windows prevents duplicates, Samba does not.

True. The main difference is that Windows stores the short
name on disk, Samba just fakes them on the fly. In theory,
we could store the short names in an xattr, but this would
be really, really expensive. And as applications that really
depend on short names are rare these days, I'm not sure if
it would be worth the effort and speed penalty anymore.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de

*****************************************************************
visit us on it-sa:IT security exhibitions in Nürnberg, Germany
October 8th - 10th 2013, hall 12, booth 333
free tickets available via code 270691 on: www.it-sa.de/gutschein
******************************************************************


More information about the samba mailing list