jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password.

sin5k5 <[email protected]>
Newsgroups gmane.network.samba.java
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.