[jcifs] Re: jcifs.smb.Dfs bugs
Usenet.r96 at gishpuppy.com
Mon Apr 28 14:32:58 GMT 2008
> Please try this package:
> It has the thread-safe DFS cache changes and the getTrustedDomains
> lookup fix.
Thanks a lot! Btw, the synchronization on Dfs#insert() is missing and in
Dfs#getDc() is one more call to UniAddress.getByName(domain), that might
need to be UniAddress.getByName(domain, true).
> Well you don't need to use a separate object. Just synchronize on
> SmbFile.dfs around the insert. See 1.2.20c code.
Right. Just wanted to minimize the time spent in the synchronized
blocks, as Dfs#resolve() seems to perform a bunch of network calls.
More information about the jcifs