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

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Feb 5 19:33:55 GMT 2008

On Tue, Feb 05, 2008 at 09:44:19AM -0800, James Peach wrote:
> This change allows us to hold open a directory iterator that is not
> backed by a real open directory handle as long as we are not intending
> to iterate or search for a wildcard. This means that clients using
> FindFirst to lookup filenames do not require search privileges
> unless we end up needing to do a case-matching search.

So you basically ignore the ACCESS_DENIED at ntcreate&x time
but instead return no files? I'm not sure I like that idea.

-------------- 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/20080205/2ef4977e/attachment.bin

More information about the samba-technical mailing list