[jcifs] 411 - Length Required
Michael B Allen
ioplex at gmail.com
Thu Nov 6 17:09:48 GMT 2008
On Thu, Nov 6, 2008 at 11:54 AM, Chad Sturtz <Chad.Sturtz at quest.com> wrote:
> 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?
I need more context. It's clear you're using HTTP but it sounds like
you're using an HTTP client. JCIFS is primarily a CIFS protocol client
so I don't always pay too much attention to the HTTP stuff. Can you be
more specific?
Mike
--
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/
More information about the jcifs
mailing list