Re: Jcifs 1.3.17 & Isilon Server
"Christopher R. Hertel" <[email protected]>
| Newsgroups | gmane.network.samba.java |
|---|---|
| Organization | ubiqx, uninq. |
| Message-ID | <[email protected]> |
On 06/29/2012 10:04 AM, Michael B Allen wrote: > On Mon, Jun 25, 2012 at 5:20 PM, Lummis, Patrick J <[email protected]> wrote: >> >> Howdy, >> >> Before I move up the software stack to VFS2 (commons-vfs), I'm experiencing >> the following... >> >> An issue has come up whereby the latest jcifs, jcifs-1.3.17, fails to >> connect to an Isilon server with credentials or as anonymous. Previous >> version, jcifs-1.2.13, connects fine. >> >> Furthermore, connecting to Windows SAMBA shares and Linux CIFS shares over >> the same network utilizing jcifs 1.3.17 works beautifully. >> >> Also, connecting to the Isilon share utilizing linux smbclient through the >> machine executing the jcifs 1.3.17 client also works as expected, which >> leads me to believe its narrowed down to the jcifs 1.3.17 distribution or >> VFS. >> >> The following is the thrown exception…. >> >> Caused by: jcifs.smb.SmbAuthException: Logon failure: unknown user name or >> bad password. >> at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:546) >> at jcifs.smb.SmbTransport.send(SmbTransport.java:663) >> at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:390) >> at jcifs.smb.SmbSession.send(SmbSession.java:218) >> at jcifs.smb.SmbTree.treeConnect(SmbTree.java:176) >> at jcifs.smb.SmbFile.doConnect(SmbFile.java:911) >> at jcifs.smb.SmbFile.connect(SmbFile.java:954) >> at jcifs.smb.SmbFile.connect0(SmbFile.java:880) >> at jcifs.smb.SmbFile.exists(SmbFile.java:1415) >> at >> org.apache.commons.vfs2.provider.smb.SmbFileObject.doGetType(SmbFileObject.java:133) >> at >> org.apache.commons.vfs2.provider.AbstractFileObject.getType(AbstractFileObject.java:497) >> >> >> Likewise, the same exception is thrown utilizing the SmbShell.java example >> code with jcifs 1.3.17.jar provided by the jcifs project. >> >> Any insight as to what may be going on? Is this a known issue with Isilon >> servers? > > Hi Patrick, > > Does the "Isilon" server support NTLMv2? > > If not you must set jcifs.lmCompatibility = 0 and > jcifs.smb.client.useExtendedSecurity = false to force JCIFS 1.3 to use > NTLMv1 as it did in 1.2. > > If the server really does not support NTLMv2, then you really should > figure out how to upgrade. > > If this isn't the problem, there are other things we can try ... > > Mike Much depends on the age of the Isilon system. Isilon used to run Samba on top of their OneFS, but over the past couple of years they moved to the Likewise product. Likewise used to be Open Source, but Isilon was purchased by EMC and then EMC/Isilon bought up Likewise. The GPL version of the Likewise software is probably still out there somewhere, but as far as I know all current Likewise development has gone proprietary. ...and I don't know what authentication modes they support. Chris -)----- -- "Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq. ubiqx Team -- http://www.ubiqx.org/ -)----- [email protected] OnLineBook -- http://ubiqx.org/cifs/ -)----- [email protected]