[jcifs] Proble with connecting to windows share
m.tusinski at expletus.pl
Wed May 19 04:26:52 MDT 2010
I can mount it from linux using mount -t cifs -o
username=user,password=password //192.168.90.2/D /mnt/x
The code used for connection:
String sb = "sbm://192.168.90.2/D"
NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("",
SmbFile file = new SmbFile(sb, auth);
SmbFileOutputStream sos = new SmbFileOutputStream(file, false);
This code works for the other computers. Any idea why jcifs is not
working for this particular computer?
> Hi. I've got a problem with JCIFS. Here's the situation:
> I've got 10 computers with Windows XP Embedded. The're all the same
> computers. Each one of those computers share disk D and only one user
> has rights to access this share - user: user, password: password.
> Those computers don't work in domain. I can't access shared folder on
> one of those via JCIFS. I get this message:
> Logon failure: unknown user name or bad password
> When I access this share via net use .. from windows command line, or
> when I map this share in windows everything works fine, and there's no
> problem with other computers.
> Any idea what might cause this problem?
More information about the jCIFS