Have vfs_proxy search caches use dirmon framework to save handles
commit423433d821708df057b8e819c0202168cdbf38e3
authorSam Liddicott <sam@liddicott.com>
Thu, 4 Dec 2008 10:20:26 +0000 (4 10:20 +0000)
committerSam Liddicott <sam@liddicott.com>
Wed, 10 Dec 2008 10:12:35 +0000 (10 10:12 +0000)
tree93a0af0373caec40dc7d0083da8f900e3e9f845c
parent6909b5b92ab0720121f8f95eab0ee1ab2e1c5080
Have vfs_proxy search caches use dirmon framework to save handles

vfs_proxy was taking a file handle each time a search cache was
created on a directory.

This became a very large number if a ffirst was done on each file
in a large directory and could cause the windows server to close
the connection due to an abusive client.

The simple fix is to have search caches use the dirmon framework
that was since developed
source4/ntvfs/proxy/vfs_proxy.c