[jcifs] JCIFS 1.2.3 HTTPFilter problems with ie
Fernando Hartmann
fh at sadig.com
Mon Sep 5 17:39:24 GMT 2005
Hello, I'm trying to use JCIFS but there are something strange
happening, when I' connect with FireFox 1.0.6 the authentication works
well, but when I use IE 6.0.2900 XP SP2, I only receive a blank screen.
I use the same user on the browser, and both are running on the same
machine.
Any idea !
When I try to logon with IE:
New data read: Transport1[vesuvio.sadig.net/10.1.1.3:445]
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 76 EA 00 00 01 00 |..........vê....|
byteCount=36 but readBytesWireFormat returned 18
05/09/2005 13:54:48 org.apache.jk.common.ChannelSocket processConnection
INFO: connection timeout reached
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at jcifs.util.transport.Transport.readn(Transport.java:29)
at jcifs.smb.SmbTransport.peekKey(SmbTransport.java:328)
at jcifs.util.transport.Transport.loop(Transport.java:89)
at jcifs.util.transport.Transport.run(Transport.java:229)
at java.lang.Thread.run(Thread.java:534)
When I try to logon with FF
New data read: Transport1[vesuvio.sadig.net/10.1.1.3:445]
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 A5 E7 00 00 01 00 |..........¥ç....|
byteCount=36 but readBytesWireFormat returned 18
treeConnect: unc=\\vesuvio.sadig.net\IPC$,service=?????
sessionSetup: accountName=fh,primaryDomain=sadig
SmbComSessionSetupAndX[command=SMB_COM_SESSION_SETUP_ANDX,received=false,errorCode=The
operation completed
successfully.,flags=0x0018,flags2=0xC003,signSeq=0,tid=0,pid=59301,uid=0,mid=2,wordCount=13,byteCount=105,andxCommand=0x75,andxOffset=166,snd_buf_size=16644,maxMpxCount=10,VC_NUMBER=1,sessionKey=0,passwordLength=24,unicodePasswordLength=24,capabilities=4180,accountName=fh,primaryDomain=SADIG,NATIVE_OS=Windows
2000,NATIVE_LANMAN=jCIFS]
SmbComTreeConnectAndX[command=SMB_COM_TREE_CONNECT_ANDX,received=false,errorCode=The
operation completed
successfully.,flags=0x0018,flags2=0x0000,signSeq=0,tid=0,pid=59301,uid=0,mid=0,wordCount=4,byteCount=57,andxCommand=0xFF,andxOffset=0,disconnectTid=false,passwordLength=1,password=,path=\\vesuvio.sadig.net\IPC$,service=?????]
New data read: Transport1[vesuvio.sadig.net/10.1.1.3:445]
00000: FF 53 4D 42 73 00 00 00 00 98 03 C0 00 00 00 00 |ÿSMBs......À....|
00010: 00 00 00 00 00 00 00 00 01 10 A5 E7 00 18 02 00 |..........¥ç....|
NtlmHttpFilter: sadig\fh successfully authenticated against
vesuvio.sadig.net/10.1.1.3
My config
<filter>
<filter-name>NtlmHttpFilter</filter-name>
<filter-class>jcifs.http.NtlmHttpFilter</filter-class>
<init-param>
<param-name>jcifs.http.domainController</param-name>
<param-value>vesuvio.sadig.net</param-value>
</init-param>
<init-param>
<param-name>jcifs.util.loglevel</param-name>
<param-value>4</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