[jcifs] our request can work but it is very slow
wufandercarluo at sina.com
wufandercarluo at sina.com
Fri May 19 03:05:21 GMT 2006
Hi,
jCIFS authentication works for us. The password login windows does not pop up. But it's very slow. It takes more than 20 secends to get authenticated. Has anyone seen this problem? Maybe some network configuration?
The computer is in the domain, DNS has A record for the computer, Active Directory has the computer and the user.
Please help. thanks.
I use the Examples/NtlmHttpAuthExample.java and set web.xml:
<filter>
<filter-name>NtlmHttpFilter</filter-name> <filter-class>jcifs.http.NtlmHttpFilter</filter-class> <init-param> <param-name>jcifs.http.domainController</param-name> <param-value>192.168.1.12</param-value> </init-param>
<init-param> <param-name>jcifs.smb.client.domain</param-name> <param-value>EXCHANGE</param-value> </init-param><init-param> <param-name>jcifs.netbios.hostname</param-name> <param-value>msolution-2</param-value></init-param>
<init-param> <param-name>jcifs.netbios.wins</param-name> <param-value>192.168.1.12</param-value></init-param>
<init-param> <param-name>jcifs.smb.client.soTimeout</param-name> <param-value>100</param-value></init-param>
<init-param> <param-name>jcifs.netbios.cachePolicy</param-name> <param-value>-1</param-value></init-param>
<init-param> <param-name>jcifs.smb.client.signingPreferred</param-name> <param-value>true</param-value> </init-param>
</filter>
<filter-mapping> <filter-name>NtlmHttpFilter</filter-name> <url-pattern>/*</url-pattern></filter-mapping>
server os: Windows serlet container: Tomcat 4.1 jdk j2sdk1.4.2_04
client browser: Internet Explorer 6.0, windows xp professional jcifs version:jcifs_1.2.7
-------------------------------------------------------------------
Ö»»¨Ò»Ôª¾ÍÂòÁ˸öÐÂÊÖ»ú!È̲»×¡¸ø´ó¼Ò¿´¿´( http://ad4.sina.com.cn/wx/ads/ebay.html )
===================================================================
×¢²áÐÂÀË2GÃâ·ÑÓÊÏ䣨 http://mail.sina.com.cn/chooseMode.html £©
-------------- next part --------------
3j?Zr??????y??v?????
More information about the jcifs
mailing list