[jcifs] Jcifs 1.3.8_tb and Windows 2008R2

Thomas Bley thbley at gmail.com
Thu Oct 6 14:24:32 MDT 2011


Hello,

you can merge the sources from 1.3.8_tb and 1.3.16 manually. But doing
the tests and setting up the machines with the latest patches takes a
lot of time. The sources are included in
http://sourceforge.net/projects/simplgroup/files/simplegroupware/0.724/SimpleGroupware_0.724.tar.gz
(src/tools/java_bridge/jcifs-1.3.8_tb_src.tgz)

bye
Thomas


On Thu, Oct 6, 2011 at 8:20 PM, Mazhar Lateef
<mazhar.lateef at virtualcode.co.uk> wrote:
> Hi
> I am using Jcifs 1.3.8_tb in my application and can not use the latest jcifs
> library for some missing functions in the newer versions of the Jcifs
> library.
> We have been testing our app which requires reading data from a Cifs share,
> when testing with Windows 2008 R2, unfortunately it does not seem to work.
> We get the following exception which seems to be at the authentication
> phase.
> smbtransport: new connection 0.0.0.0<00>/10.1.165.15 445 administrator
> Oct 06, 2011 4:59:02 PM jcifsdemo.JCIFSDemo printFileMetaDataUsingNTLM
> SEVERE: null
> jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad
> password.
> at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:547)
> at jcifs.smb.SmbTransport.send(SmbTransport.java:669)
> at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:380)
> at jcifs.smb.SmbSession.send(SmbSession.java:241)
> at jcifs.smb.SmbTree.treeConnect(SmbTree.java:161)
> at jcifs.smb.SmbFile.doConnect(SmbFile.java:863)
> at jcifs.smb.SmbFile.connect(SmbFile.java:906)
> at jcifs.smb.SmbFile.connect0(SmbFile.java:832)
> at jcifs.smb.SmbFile.queryPath(SmbFile.java:1285)
> at jcifs.smb.SmbFile.exists(SmbFile.java:1371)
> at jcifs.smb.SmbFile.isDirectory(SmbFile.java:1446)
> at jcifs.smb.SmbFile.getSecurity(SmbFile.java:2877)
> at jcifs.smb.SmbFile.getSecurity(SmbFile.java:2960)
> at jcifsdemo.JCIFSDemo.printFileMetaDataUsingNTLM(JCIFSDemo.java:89)
> at jcifsdemo.JCIFSDemo.main(JCIFSDemo.java:51)
>
> As this seems to be an authentication issue. is there a way to use Jcifs
> version 1.3.8 with Windows 2008 R2?
> With the latest version of Jcifs (version 1.3.16) application works fine and
> I am able to read the remote directory and list files, but I am not able to
> get some file metadata which I can with 1.3.8 which is why I have to use the
> older version of jcifs.
> Any help to get the 1.3.8_tb version working with windows 2008 R2 and
> similar with or without a third party product would be most helpful.
> Many Thanks in advance for any guidance.
> Maz
> --
> Mazhar Lateef
>
> Virtualcode Solutions LTD - London
> www.virtualcode.co.uk
> Tel : +44 (0)20 3286 1246
> Fax : +44 (0)207 900 3460
>
>
>


More information about the jCIFS mailing list