[jcifs] Can JCIFS able to access the linux share?
Pontus Ullgren
ullgren at gmail.com
Thu Dec 27 08:46:10 MST 2012
Hello,
Which version of Samba are you using ?
Have you checked and tried the solution in this previous post ?
http://article.gmane.org/gmane.network.samba.java/9190
// Pontus
On Thu, Dec 27, 2012 at 4:10 PM, pravink <pravinkalbhor at gmail.com> wrote:
> I am trying to access the linux share (using samba) using the JCIFS lib but
> always getting login failure
>
> My smb url = smb://pravink-PC;anil:temp123@pravink-PC/share2
>
> but getting-
> jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password.
> at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:406)
> 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.getType(SmbFile.java:1282)
> at jcifs.smb.SmbFile.doEnum(SmbFile.java:1733)
> at jcifs.smb.SmbFile.listFiles(SmbFile.java:1715)
> at jcifs.smb.SmbFile.listFiles(SmbFile.java:1648)
>
>
> share2 folder has access to user anil. and I am passing right credentials.
>
> Note- My Java app is running on same m/c where I have shared the share2 folder.
>
> Same things works for the windows share without any issues..
>
More information about the jCIFS
mailing list