cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: HTTP Error 401.2

From: Tubati Narasimham <narasimham.tubati_at_gmail.com>
Date: Thu, 4 Nov 2010 12:03:24 -0400

Hi Daniel ,

Here is the authentication method, and regarding the space yeah used a space
before -u. I checked in net and could not find pointers on using curl for
http post with the authentication method NTLM. Do you have any idea. Thanks
for your help

HTTP/1.1 401 Unauthorized
< Date: Thu, 04 Nov 2010 14:57:02 GMT
< Content-Length: 1656
< Content-Type: text/html
< Server: Microsoft-IIS/6.0
< WWW-Authenticate: Negotiate
< WWW-Authenticate: NTLM

Thanks
Tubati

On Thu, Nov 4, 2010 at 11:27 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Thu, 4 Nov 2010, Tubati Narasimham wrote:
>
> HTTP Error 401.2 - Unauthorized: Access is denied due to server
>> configuration.<br>Internet Information Services (IIS)</h2>
>>
>
> Then check the response headers to see what kind of auth method it wants.
> Use -v for example.
>
>
> Command : curl -k -L -d @maxobj.xml
>>
>> http://wwwin-tools-dev-was6.cisco.com/itam/maximo/meaweb/es/XXAMS_MAXOBJECT/XXAMS_MAXCONFIG_Q-u
>> ntubati:******
>>
>
> I hope you intended that -u to have a space in front of it.
>
>
> The WAS for the above mentioned url is a shared environment is protected
>> via OAM.
>>
>
> The WAS? OAM? Sorry, I don't know what those are.
>
>
> Can we use curl for such environments for doing http post ?
>>
>
> If it uses one of the auth methods curl supports, yes!
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-users
> FAQ: http://curl.haxx.se/docs/faq.html
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-- 
regards
narasimham

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-11-04