[jcifs] Re: FW: Inconsistent Authentication Results: Access Denied & Windows Enter password popping up

Michael B Allen mba2000 at ioplex.com
Tue Apr 4 20:33:05 GMT 2006


It's is not an optimal problem report.

Try the default example precisely as described in the documentation. If
you get an error, make a carefull anaysis of the conditions under which it
occured and carefully recored any error messages or packet captures. Then
present that information with your explaination of why you think the
software is behaving incorrectly and how someone else might reproduce
the error.


On Wed, 29 Mar 2006 16:04:39 -0800
"David Sprowls" <ctasprowls at fastmail.fm> wrote:

> I just upgraded to jcifs 1.2.8 and am still having this problem.  I have
> tried preauthentication and disabling session persistence in Tomcat as
> recommended in other posts; however, neither helped.  The only way I
> have been able to get around it, is by setting the soTimeOut to half a
> second as recommended in this post
> http://thread.gmane.org/gmane.network.samba.java/5232.  I realized that
> this will cause a a connection to be opened to the domain controller for
> every login attempt; however, is that the only drawback?  I have a
> relatively small user base; so if that is the only negative, it should
> not impact me much. 
> I am running windows 2000, jre 1.5.0_06, and Tomcat 5.5.15.  I am using
> the following in web.xml.
> <filter>
> 	<filter-name>NtlmHttpFilter</filter-name>
> 	<filter-class>jcifs.http.NtlmHttpFilter</filter-class>
> 	<init-param>
> 		<param-name>jcifs.netbios.wins</param-name>
> 		<param-value>xxx.xxx.xxx.xxx</param-value>
> 	</init-param>
> 	<init-param>
> 		<param-name>jcifs.smb.client.domain</param-name>
> 		<param-value>name</param-value>
> 	</init-param>
> 	<init-param>
> 		<param-name>jcifs.smb.client.soTimeout</param-name>
> 		<param-value>500</param-value>
> 	</init-param>
> </filter>
> <filter-mapping>
> 	<filter-name>NtlmHttpFilter</filter-name>
> 	<url-pattern>/*</url-pattern>
> </filter-mapping>
> -- 
>   David Sprowls
>   ctasprowls at fastmail.fm

More information about the jcifs mailing list