[Samba] Name mangling problem

Jeremy Allison jra at samba.org
Fri Jan 9 11:14:59 MST 2015


On Fri, Jan 09, 2015 at 01:12:39PM +0100, Mitja Tavcar wrote:
> Hi all,
> 
> I run samba 3.6.6 from debian wheezy (version 3.6.6) and i am
> experiencing some troubles with file name mangling.
> 
> If i try "dir /x" on a mapped folder it gives me unexpected mangled
> names: the name mangling matches only the first character and not
> the first 5 as i expect.
> 
> For example:
> if the long file name is LONGFILENAME.TXT, i expect the mangled
> sholud be something like LONGF~01.TXT, but i see: LNHQX6~C.TXT
> 
> I tried to change mangling method = hash (instead of the default hash2)
> also i tried the solution posted here:
> http://www.oreilly.com/openbook/samba/book/ch05_04.html
> but no luck.

When you change mangling method, on restart smbd will
use the different algorithm to generate the mangled name.

However you may need to reconnect the client to clear
out and mangled name cachine it has.


More information about the samba mailing list