[PATCH] [SAMBA3] Improve handling of lookups in unsearchable directories.

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Feb 7 08:24:18 GMT 2008

On Wed, Feb 06, 2008 at 08:40:46AM -0800, James Peach wrote:
> I think that this is the right level. This is the level that does the  
> findfirst wildcard matching and it's also the level that short- 
> circuits the search for a non-wildcard findfirst.

Hmmm. I'd say that the current code is just wrong then. A
non-wildcard findfirst essentially boils down to a qpathinfo
with a different format, I think the special case should be
handled in call_trans2findfirst before we even open a dptr
so that we only do the real OpenDir when we have to do a

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080207/79145472/attachment.bin

More information about the samba-technical mailing list