[jcifs] NT_STATUS_TOO_MANY_OPENED_FILES error
Joe Kramer
jkramer at vivisimo.com
Wed Feb 2 14:28:10 MST 2011
Mike,
Thanks for getting back to me so quickly. We'll look into implementing
your suggestions.
Thanks,
Joe
On Wed, 2011-02-02 at 15:24 -0600, Michael B Allen wrote:
> Hi Joe,
>
> This is just another manifestation of the same issue you had a few
> months ago. The getSecurity method is simply not designed to resolve
> huge numbers of SIDs. As discussed previously, you need to implement
> your own SID resolution code to serially resolve multiple SIDs in the
> same RPC call and then cache them (actually you can probably just use
> the JCIFS SID cache). The operative words here are *serially* and
> *multiple*. Then you'll stop overloading the server trying to open LSA
> handles.
>
> Mike
>
More information about the jCIFS
mailing list