[jcifs] DFS Links and Timeouts

Michael B Allen mba2000 at ioplex.com
Mon Dec 19 21:47:25 GMT 2005

On Mon, 19 Dec 2005 12:38:03 +0100
"Martin D. Pedersen" <mdp at visanti.com> wrote:
> > > But jcifs somehow timeouts when accessing files through dfs links. 
> > > If i traverse the files directly from //secondary/data there is no 
> > > problem!
> > 
> > I *think* I have this fixed. Try the attached patch and let 
> > us know how it goes for you.
> The patch fixes the (originally) problem, but there is still another
> problem.
> Exception in thread "main" jcifs.smb.SmbException: The system cannot
> find the path specified.

After looking closely at how paths are handled across DFS I found a few
problems. I think I understand this well now but I can't be certain all
cases will work properly. Please test the attached patch carefully. If
you find a problem please let me know and we'll rinse and repeat.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: DfsPathFix.patch
Type: application/octet-stream
Size: 2504 bytes
Desc: not available
Url : http://lists.samba.org/archive/jcifs/attachments/20051219/49198c31/DfsPathFix.obj

More information about the jcifs mailing list