[jcifs] Using jcifs to validate users against NT

Tolman-Kevin Tolman-Kevin at vikingfreight.com
Sat Mar 30 03:24:48 EST 2002


Hello,

I need to validate user id and password against their NT log in's from a servlet application running on linux/tomcat. I have tried usig jcifs to connect to an NT server using the supplied user id and password and then doing  a SmbFile[] files = file.listFiles();. If a list of files is returned the
userid/password is a valid NT log in and if an exception is thrown I determine that the userid/password  is not a valid NT log in. 

This works except that after three invalid attempts I am locked out. Any subsequent attempts will always fail until a certian time out period passes. I am afraid that if I try this from a servlet app that one user failing to log on will lock up the app for all users. Is this the case? Is there a way
around this? Has anyone else been able to validate a user against NT using jcifs?

I have tried changing all of the properties in the jcifs.prp file but that has not helped.

Any help that anyone could give me would be greatly appreciated.

Thanks
Kevin




More information about the jcifs mailing list