[jcifs] jcifs.smb.SmbTree.treeDisconnect() not resetting service

Ti Lian Hwang lian_hwang.ti at fairprice.com.sg
Wed Feb 6 04:20:12 GMT 2008


Mike,

The fix does not seem to do anything.
More appropriately apply the fixes in

http://lists.samba.org/archive/jcifs/2008-January/007602.html
 
In addition you need to set the jcifs.smb.NtlmPasswordAuthentication 
not to be serializable.

Rgds,
Ti

-----Original Message-----
From: Michael B Allen [mailto:miallen at ioplex.com]
Sent: Wednesday, February 06, 2008 12:15 PM
To: Ti Lian Hwang
Cc: jcifs at lists.samba.org
Subject: Re: [jcifs] jcifs.smb.SmbTree.treeDisconnect() not resetting
service


Applied in 1.2.18 to be released RSN.

Although I have no idea how to reproduce this so I cannot verify that
it fixes your specific problem.

Mike

On Thu, 3 Jan 2008 11:54:19 -0500
Michael B Allen <miallen at ioplex.com> wrote:

> On Thu, 3 Jan 2008 11:50:45 +0800
> "Ti Lian Hwang" <lian_hwang.ti at fairprice.com.sg> wrote:
> 
> > Still trying to figure out the W2K3 problem.
> > Managed to track down to probably the issue is that
> >  
> > jcifs.smb.SmbTree.treeDisconnect() does not reset the service to '?????'
> >  
> > When it reconnects, it will ask for the service 'IPC'.
> > This seems to cause a logon failure.
> >  
> > Could anyone verify such a behaviour ?
> 
> Interesting. I'll add this to the TODO list. This should definitely be
> fixed, but I'm curious - if JCIFS successfully connected to the share and
> found it to be IPC then why would the server care if it was explicitly
> specified as IPC instead of '?????' the second time?  Is there a specific
> implementation that this causes a problem with?

-- 
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/


More information about the jcifs mailing list