Question about T2FindFirst

Jeremy Allison jra at
Fri May 7 21:46:41 GMT 2004

On Fri, May 07, 2004 at 10:36:55PM +0100, MVM RAJU wrote:
> I have a question about T2FindFirst implementation,
> when Samba receives a T2FindFirst request
> WITHOUT wildcard pattern, it retrieves all the
> directory entries using opendir()/readdir() 
> before it replies to the request, any specific reason
> for this?

If we're acting in a case-insensitve way, we ave to
do this as we can't know what case the incoming value
matches. If case-sensitive we don't have to do this and
can just do a stat() instead. This is an optimisation
I'll be adding into 3.0.5 and above.


More information about the samba-technical mailing list