[Samba] Samba 3.02 with dos filenames

Collen collen at hermanjordan.nl
Wed Feb 18 08:10:01 GMT 2004


Try dir /X in a dos box..
it will show you the long and short file names..

how manny char's of the original filenames are shown.. ??
coz' i got mangle prefix on 5, and it show's 5 original char's ..
but putting it on 6 doesn't make anny changes so..

l8r..
Collen

Tuesday, February 17, 2004, 6:34:43 PM, you wrote:

JCW> Nothing, still doesn't work.  Any other ideas?  What does your smb.conf
JCW> look like?  Maybe something else in my global section is conflicting
JCW> with this.

JCW> Collen wrote:

>>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
>>btw
>>don't forget to shutdown en restart your samba server, otherwise it
>>woun't work..
>>
>>l8r
>>Collen
>>
>>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