[prev in list] [next in list] [prev in thread] [next in thread]
List: jcifs
Subject: [jcifs] jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password.
From: sin5k5 <sin5k4 () gmail ! com>
Date: 2012-07-09 6:33:39
Message-ID: 1341815619206-4634285.post () n4 ! nabble ! com
[Download RAW message or body]
Hey all,planning to read a file over a Windows from Ubuntu in Java using
jcifs.Tried a simple approach using:
String user = "mydomain;myuser:mypassword";
NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(user);
SmbFile remotefile = new SmbFile("smb://myserver/myfolder/myfile.jar",auth);
Using this approach,and knowing that the server works and the login values
are correct,all i get is a logon failure,what could be the problem here?
--
View this message in context: \
http://samba.2283325.n4.nabble.com/jcifs-smb-SmbAuthException-Logon-failure-unknown-user-name-or-bad-password-tp4634285.html
Sent from the Samba - jcifs mailing list archive at Nabble.com.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic