What is the case for preserving case under Samba ...

Richard Sharpe rsharpe at ns.aus.com
Sun Jul 7 14:13:02 GMT 2002


On Sun, 7 Jul 2002, Conrad Minshall wrote:

> At 7:19 PM -0700 7/4/02, Richard Sharpe wrote:
> >Hi,
> >
> >The current situation with respect to preserve case = yes and case
> >sensitive = no causes many problems.
> >
> >I recently ran a build of a lot of software under Windows that was mounted
> >on a file server, and lots of really silly things happen. This software
> >goes looking for include files in a list of directories, and every request
> >to open a file that does not exist in a particular include directory, or
> >one that is not the case that was first presented, causes Samba to do a
> >readdir scan of the directory that the name was contained in. This can
> >cause thousands to millions of scans :-(
> >
> >An altrnative might be to convert all names to the default case (preserve
> >case = No) and then do case sensitive matches (case sensitive = yes).
> >
> >What is the down-side to this?
> 
> Sometimes one want to simultaneously export a filesystem as both NFS and
> CIFS (and AppleShare, in my environment).  Samba must preserve case so the
> other protocols can behave reasonably, yes?

Hmmm, I didn't explain what I wanted well enough :-)

I want to preserve case sensitive behaviour for NFS and UNIX clients, 
while reducing the current high cost to CIFS users of providing 
case-insensitive behaviour.

Regards
-----
Richard Sharpe, rsharpe at ns.aus.com, rsharpe at samba.org, 
sharpe at ethereal.com





More information about the samba-technical mailing list