Samba 3.0.20 - findfirst optimization

Dina Fine dina at exanet.com
Mon Oct 24 08:33:21 GMT 2005


Hi

I have a question regarding the findfirst optimization  in 3.0.20
version.
It seems that it doesn't work if case-sensitive and mangling are
configured to yes and the path doesn't contain wild chars

If a findfirst request is a mangled file name and the case sensitive is
configured to yes then the stat in dptr_ReadDirName (line 593, dir.c)
will fail, and since the case sensitive is yes the function will return
with NULL in line 616.
The mangling is not considered here at all.

Am I wrong? Do I miss something?

Thanks
Dina Fine






More information about the samba-technical mailing list