[jcifs] RE: how to authenticate windows 2003 using jcifs.

Praveen Munukuru Praveen.Munukuru at harmonicinc.com
Thu Jun 10 18:33:27 GMT 2004


Hi Mike,

One more question....

Our company is upgrading to windows 2003 server, but clients are 95, NT,
2000, XP. I have to authenticate from these different clients.

Just now I downloaded jcifs-0.9.2 version. 
Please let me know, what I have to do authenticate from different clients?

Thanks in advance.
Praveen.



-----Original Message-----
From: Michael B Allen [mailto:mba2000 at ioplex.com] 
Sent: Wednesday, June 09, 2004 7:53 PM
To: Praveen Munukuru
Cc: jcifs at samba.org
Subject: RE: how to authenticate windows 2003 using jcifs.

Praveen Munukuru said:
> Hi,
>
> Thanks lot Mike.
>
> Please let me know which version, i need to download.

The one with the most recent version number.

> I have one more question.
>
> Our company is using NTLMv2 for windows 2003.

That is in the FAQ.

> My code looks like this:
>
> Jcifs.UniAddress mydomaincontroller = UniAddress.getByName
> "xx.xx.xxx.xxx");
>
>                     NtlmPasswordAuthentication mycreds = new
> NtlmPasswordAuthentication(domain, user, pass );
>                     SmbSession.logon( mydomaincontroller, mycreds );
>
> Do i need to make change this code or not.

Also in the FAQ.

>
> I am reading the NTLM HTTP Authentication document using this URL:
>
> http://jcifs.samba.org/src/docs/ntlmhttpauth.html

Correct.

Please send all messages to the jcifs mailing list.

Mike


More information about the jcifs mailing list