[jcifs] A user authenticates successfully,
but then I get a SocketTimeoutException: Receive timed out?
Todd Patrick
Todd.Patrick at dtn.com
Mon Oct 30 20:18:04 GMT 2006
I am not sure what is happening after I authenticate successfully. What I am able to log is the following:
New data read: Transport1[0.0.0.0<00>/10.1.48.100: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 EA 9B 00 00 01 00 |..........ê.....|
byteCount=34 but readBytesWireFormat returned 14
treeConnect: unc=\\PROD\IPC$,service=?????
treeConnect: unc=\\PROD\IPC$,service=?????
New data read: Transport1[PROD<00>/10.1.48.100:0]
00000: FF 53 4D 42 73 00 00 00 00 98 07 C0 00 00 E9 88 |ÿSMBs......À..é.|
00010: 6E F4 41 18 2C BE 00 00 01 08 EA 9B 01 08 02 00 |nôA.,¾....ê.....|
New data read: Transport1[PROD<00>/10.1.48.100:0]
00000: FF 53 4D 42 73 00 00 00 00 98 07 C0 00 00 E9 D0 |ÿSMBs......À..éÐ|
00010: CF BF B4 5F 9A 06 00 00 02 08 EA 9B 02 08 03 00 |Ï¿´_......ê.....|
NtlmHttpFilter: COMPANY\name.name successfully authenticated against 0.0.0.0<00>/10.0.0.000
java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
at java.net.DatagramSocket.receive(DatagramSocket.java:712)
at jcifs.netbios.NameServiceClient.run(NameServiceClient.java:184)
at java.lang.Thread.run(Thread.java:595)
NtlmHttpFilter: COMPANY\name.name successfully authenticated against 0.0.0.0<00>/10.0.0.000
Plus, when I try to write out the user information in my JSP page, I return a null value:
<%
out.println(MessageFormat.format("{0} successfully logged in", request.getRemoteUser()));
%>
Outputs:
null successfully logged in
I'd greatly appreciate any help.
Thanks,
--Todd
-----------------------------------------
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized use, disclosure or distribution is
prohibited. If you are not the intended recipient, please contact
the sender by reply email and destroy all copies of the original
message.
More information about the jcifs
mailing list