[Samba] smbmount filename case forcing
prockter at lse.ac.uk
Mon Jun 10 16:49:02 GMT 2002
I couldn't see an easy way to get the options back in smbmount, not
without a longer look at previous versions which I'll do later.
I altered fs/smbfs/proc.c as you suggested and it seems to work fine.
Any objections to putting support for case mangling back in? it is
p.s. Oddly, 'entry' has been changed to 'qname' in
smb_decode_long_dirent but not in smb_decode_short_dirent ( they are
both #if 0 so it has no effect )
On Mon, 2002-06-10 at 19:43, Urban Widmark wrote:
> On 10 Jun 2002, Neil Prockter wrote:
> > Hello
> > I have a problem mounting a win2k share onto linux
> > I want to mount the share so that all filenames are in lowercase (or
> > uppercase) only
> Support for this has been dropped. There used to be code in smbfs that
> mapped A-Z|a-z but smbmount didn't set any such flags.
> You can make it case-insensitive by passing the (undocumented?) mount
> option "case". How well that works I don't know but you could try it.
> If that fails you could look in fs/smbfs/proc.c in the kernel source.
> The old str_lower and str_upper functions are still there but they are no
> longer called. If you always want lowercase you could enable the str_lower
> call in the smb_decode_*_dirent functions.
More information about the samba