[Samba] Samba opens many files.

Markus Wenke M.Wenke at web.de
Thu Nov 20 16:18:45 GMT 2003


Gerald (Jerry) Carter wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Markus Wenke wrote:
>
> | If I change "case sensitive" to yes, this problem is
> | fixed, but if I  make in the windows-C-file a simple
> | _findfirst() the same behavior appears.
> | If I makt it to a Dir with 2 files, every file will be
> | opened at least  one time. Why opens samba this files? for
> | only _findfirst() the files  musn't be opened or?
> | and if I make a tcpdump, I see that windows(the client)
> | doesn't ask to open this files, there are only <50 packets
> | for 16000 files.
>
> Windows clients expect case insensitive semantics.  So smbd
> has to scan the directory to implement that.  If you have
> a case insensitive file system, then smbd wouldn't need to
> do this for you.
>
ok, but why dit samba opened the file (in the old version)?
would it be enough to scan the direntries?






More information about the samba mailing list