[jcifs] Performing Only Password Authentication against a Domain

Nick Newman NNewman at scientech.com
Tue Aug 27 04:17:29 EST 2002


Hi,

I have a client who wants to check name/password information against an NT 
domain, but from within Java.  The jCIFS software lets me do this 
indirectly by using the following scheme:

1) Make a share which is accessible only to that domain.
2) Try to access the share with jCIFS (sending the name and password)
3) Security exception means bad name/password, success means good 
name/password.

My question is, is there a better way to use jCIFS - a way that does a 
direct check of the name/password against the domain without the trick of 
trying to access something?  (If not, I can certainly use the above scheme 
- but if I can do better I'd like to).

Thanks,
Nick




More information about the jcifs mailing list