[Mono-devel-list] Patch for DirectoryServices.DirectorySearcher

Boris Kirzner borisk at mainsoft.com
Sun Mar 20 04:01:33 EST 2005

Hello all
Can I commit the patch below?

Attached is the patch for DirectoryServices.DirectorySearcher :
- ClientTimeout and ServerPageTimeLimit should be initialized to 1 second
- SizeLimit should be initialized to 0
- Setting SizeLimit to negative value should throw an exception
- Added private variable for ServerTime Limit
- Avoid infinite loop in CacheResults
- emptycol is redundant - make search result lazy evaluated and drop it 
when needed (such that we get actually new results after changing 
filter, for example)
- If the search did not return results, FindOne() should return null
- ADsPath property should be always loaded : add it to loaded property 
collection if needed, if the property was not returned from server, 
create it from result DN


Boris Kirzner
Mainsoft Corporation
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: DirectorySearcher.diff
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050320/9551ee9e/attachment.pl 

More information about the Mono-devel-list mailing list