Hello,
I'm trying to use JCIFS (
http://jcifs.samba.org/) to login to my
java application using the same Windows Username and Password.
In the "/jcifs_1.1.11/examples/" folder there is a Logon.java file:
I tried to run it using the following command:
But I get the following exception:
I think DOMAIN name is correct because I used the following code to get domain name:
Also tried to change myIPAddress to Primary WINS Server but the same exception occured.
The major problem is how to compare if windows password is correct, because I can get username easily, using System.getProperty("user.home").
I use Windows 2000 Professional.
Thank you.
SCEA 5 (part 1), SCBCD, SCWCD, SCJP, CLP, CLS