[jcifs] Internet Explorer Hangs, FireFox Works
Michael Fletcher
mfletchepc at gmail.com
Thu May 17 14:44:12 GMT 2007
Hello
I am having some problems getting JCIFS to work. When I use FireFox I
am prompted for my username and password and it accepts them. When I
use Internet Explorer initially it fails with a generic "The page
cannot be displayed" error. If I hit refresh or try again in just
hangs.
Can someone help me on where I should look further.
Software
- Java 1.5.0 rel 6
- Tomcat 5.5.23
- jCifs 1.2.13
The log shows some activity going on
session established ok with pcans01.pcacorp.net/156.44.162.162
SmbComNegotiate[command=SMB_COM_NEGOTIATE,received=false,errorCode=0,flags=0x0018,flags2=0xC003,signSeq=0,tid=0,pid=8582,uid=0,mid=1,wordCount=0,byteCount=12,wordCount=0,dialects=NT
LM 0.12]
00000: FF 53 4D 42 72 00 00 00 00 18 03 C0 00 00 00 00 |ÿSMBr......À....|
00010: 00 00 00 00 00 00 00 00 00 00 86 21 00 00 01 00 |...........!....|
00020: 00 0C 00 02 4E 54 20 4C 4D 20 30 2E 31 32 00 |....NT LM 0.12. |
New data read: Transport1[pcans01.pcacorp.net/156.44.162.162:0]
00000: FF 53 4D 42 72 00 00 00 00 98 03 C0 00 00 00 00 |ÿSMBr......À....|
00010: 00 00 00 00 00 00 00 00 00 00 86 21 00 00 01 00 |...........!....|
byteCount=34 but readBytesWireFormat returned 16
SmbComNegotiateResponse[command=SMB_COM_NEGOTIATE,received=false,errorCode=0,flags=0x0098,flags2=0xC003,signSeq=0,tid=0,pid=8582,uid=0,mid=1,wordCount=17,byteCount=34,wordCount=17,dialectIndex=0,securityMode=0x7,security=user,encryptedPasswords=true,maxMpxCount=50,maxNumberVcs=1,maxBufferSize=16644,maxRawSize=65536,sessionKey=0x00000000,capabilities=0x0001F3FD,serverTime=Mon
May 07 17:41:12 MDT
2007,serverTimeZone=360,encryptionKeyLength=8,byteCount=34,encryptionKey=0x007B8EC237456404,oemDomainName=$PCA]
00000: FF 53 4D 42 72 00 00 00 00 98 03 C0 00 00 00 00 |ÿSMBr......À....|
00010: 00 00 00 00 00 00 00 00 00 00 86 21 00 00 01 00 |...........!....|
00020: 11 00 00 07 32 00 01 00 04 41 00 00 00 00 01 |....2....A..... |
This is my configuration.
<filter>
<filter-name>NtlmHttpFilter</filter-name>
<filter-class>jcifs.http.NtlmHttpFilter</filter-class>
<init-param>
<param-name>jcifs.netbios.wins</param-name>
<param-value>156.44.162.163,156.44.162.162</param-value>
</init-param>
<init-param>
<param-name>jcifs.http.domainController</param-name>
<param-value>pcans01.pcacorp.net</param-value>
</init-param>
<init-param>
<param-name>jcifs.encoding</param-name>
<param-value>ASCII</param-value>
</init-param>
<init-param>
<param-name>jcifs.smb.client.username</param-name>
<param-value>mfletche</param-value>
</init-param>
<init-param>
<param-name>jcifs.smb.client.domain</param-name>
<param-value>PCA</param-value>
</init-param>
<init-param>
<param-name>jcifs.smb.client.password</param-name>
<param-value>xxxx</param-value>
</init-param>
<init-param>
<param-name>jcifs.util.loglevel</param-name>
<param-value>6</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>NtlmHttpFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
More information about the jcifs
mailing list