[Samba] Samba 3.02 with dos filenames

Collen collen at hermanjordan.nl
Tue Feb 17 14:37:34 GMT 2004

Hmm had the same over here..
i got it kinda working for me with these smb.conf things..

mangle case = yes       ( dunno why i use this one, but it's there)
mangling method = hash  (gues hash2 should do the trick as well..)
mangle prefix = 6       (or 5 ??)

the 6/5 stands for the number of original filename letters 12345~1.zip
don't forget to shutdown en restart your samba server, otherwise it
woun't work..


Tuesday, February 17, 2004, 3:29:05 PM, you wrote:

T> Hi Jason,

T> Tuesday, February 17, 2004, 3:02:59 PM, you wrote:
JCW>> I have a directory that holds information in a shared directory.  Its
JCW>> f:\applications.  The program thinks its under f:\applic~1 (which is the
JCW>> same directory, it works on a windows share).  I've tried everything to
JCW>> get this to work.  I've set the mangled names = yes and mangled case =
JCW>> yes, on that share,  but nothing seems to work.  What am I missing?

T> Old DOS-alike programs should see the long filenames as f:\applic~1,
T> but if they are working than do not make any problem with it.

>>From command line (I believe that a program that uses that
T> ininformation was made by a program) there are two ways to reach a
T> long-named directory, eg: c:\progra~1\program\run.exe or "c:\program
T> files\program\run.exe" (note the double quotation marks: they're
T> required if You use long-named dir/file names). They are equals!
T> Search the problem only if You have something wrong in function.

T> BYE: TeeCee :o)

T> Sorry for my English ,-)

More information about the samba mailing list