cURL / Mailing Lists / curl-library / Single Mail

curl-library

Problem with Negotiate Support

From: amit nanda <amitnan83_at_gmail.com>
Date: Tue, 20 Sep 2011 22:16:16 +0530

Hi,

I am trying to connect to Windows Remote Management service from a linux
client, the client works as expected with Basic Auth, but i am getting error
while using Negotiate Auth.

* About to connect() to 10.31.251.161 port 5985 (#0)
* Trying 10.31.251.161... * connected
* Connected to 10.31.251.161 (10.31.251.161) port 5985 (#0)
> POST /wsman HTTP/1.1
Host: 10.31.251.161:5985
Accept: */*
Content-Type: application/soap+xml;charset=UTF-8
Content-Length: 1079
Expect: 100-continue

< HTTP/1.1 401
< Server: Microsoft-HTTPAPI/2.0
** gss_init_sec_context() failed: : No credentials cache found*
Authentication problem. Ignoring this.*
< WWW-Authenticate: Negotiate
< WWW-Authenticate: Kerberos
< WWW-Authenticate: Basic realm="WSMAN"
< WWW-Authenticate: CredSSP
< Date: Tue, 20 Sep 2011 12:50:48 GMT
< Connection: close
< Content-Length: 0
<
* Closing connection #0

What am i missing here, do we need to pass some extra headers.

Thanks
Amit

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-09-20