samba share file filter bug (?)

Jeremy Allison jra at samba.org
Fri May 11 15:13:08 MDT 2012


On Fri, May 11, 2012 at 09:53:32PM +0200, Alessandro Briosi wrote:
> Il 11.05.2012 21:24 Günter Kukkukk ha scritto:
> >
> >we already were discussing this some time ago.
> >See this thread
> >https://lists.samba.org/archive/samba/2010-June/156387.html
> >
> >When connected with smbclient you can retrieve the mangled name with
> >altname DAB11846_17.txt
> >DC78E7~1.TXT
> >
> >You see that the mangled name is "DC78E7~1.TXT", which matches DC*
> >
> >Jeremy (jra) told me in an internal email that this matches the
> >windows behaviour, which we should follow.
> >
> >You can disable this on a share by share basis with
> >   mangled names = no
> >
> 
> Thank you for the explanation.
> Although it seems windows isn't doing the same mangle
> 
> smb: \> altname DAB11846_170005.txt
> DAB118~1.TXT

No, Windows does a different mangle algorithm, which
as I recall give greater collision probability than
the one we use. But Günter's explaination is the right
one.

Jeremy.


More information about the samba-technical mailing list