Sorting Filenames - SMB
Francesco Alfano
edacedpa at yahoo.it
Tue Jan 18 05:49:20 MST 2011
Il 18/01/2011 11:37, Björn Jacke ha scritto:
> On 2011-01-18 at 11:10 +0100 Francesco Alfano sent off:
>> To me it looks like file names are not sorted when accessing them via
>> samba shares, but it's works on samba 3.0.24
>>
>> If i do a dir c: for instance filenames are sorted, but if I do the same
>> on a samba share using a Visula Basic 6 program they are not sorted.
>> This causes some problems for me and I'd like to know if there is a
>> way to make either windows sort them
>> on its own (not in the explorer, but for every programm accessing these
>> shares! ) or make samba sort them before sending them to the windows
>> machine.
>>
>> Any help is appreciated.
>
> vfs_dirsort might be what you're looking for.
>
> Björn
>
I've tried it to sort di /eda/utit/PAI, but it doesn't works:
this is the smb.conf section:
[utit]
comment = Directory Scambio Pc Utit
path = /eda/utit
create mask = 0777
writable = yes
vfs objects = dirsort
; dos filetime resolution = yes
; fake directory create times = yes
; sync always = yes
;oplocks = no
;write cache size = 0
;level2 oplocks = no
[PAI]
comment = Directory Scambio Pc Utit
path = /eda/utit/PAI
create mask = 0777
writable = yes
vfs objects = dirsort
; dos filetime resolution = yes
; fake directory create times = yes
; sync always = yes
;oplocks = no
;write cache size = 0
;level2 oplocks = no
--
--
Best Regards
Francesco Alfano
System Engineer
Phone: +39 (091) 409092
Fax: +39 (091) 6766932
e-mail: ced at reroberto.it
e-mail: edacedpa at yahoo.it
More information about the samba-technical
mailing list