[jcifs] 411 - Length Required

Chad Sturtz Chad.Sturtz at quest.com
Thu Nov 6 16:54:12 GMT 2008

I downloaded and started using the JCIFS library yesterday to handle NTLM authentication to a remote windows host running WinRM.  I'm watching the network traffic in Wireshark and can see the original 401 response, followed by the client sending a second request with the NTLM authentication included.  The problem lies here.  The server responds with a 411 error (Length Required).  As I understand it, this means the request was sent without a Content-Length header.  I was able to verify this in the Wireshark trace.

Is there a reason the Content-Length is not being set?

Chad Sturtz
Software Developer
Quest Software, Inc.
1350 Timberlake Manor Pkwy, Ste 500
Chesterfield, MO 63017
Tel 636.299.4547 | Fax 636.299.4599

-------------- next part --------------
HTML attachment scrubbed and removed

More information about the jcifs mailing list