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

Conrad Minshall conrad at apple.com
Sun Jul 7 13:37:01 GMT 2002

At 7:19 PM -0700 7/4/02, Richard Sharpe wrote:
>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?

Conrad Minshall, conrad at apple.com, 408 974-2749
Apple Computer, Mac OS X Core Operating Systems

More information about the samba-technical mailing list