[smokeping-users] CURL Probe giving 401 Response with Microsoft Reporting Services
Kurt Buff
kurt.buff at gmail.com
Sat Sep 8 00:57:39 CEST 2012
Perhaps try instead "userid at domain.tld:password" - in Active Directory
it's a valid login form, though I don't know for sure if it would work
in this case.
Kurt
On Fri, Sep 7, 2012 at 12:29 PM, Stefano Pirrello <spirrello at gmail.com> wrote:
> This doesn't seem to be working. See below from the packet capture.
>
> GET /Reports/Pages/Report.aspx?ItemPath=%2fSD%2fAvailable_Talent_UAT HTTP/1.1
> Authorization: NTLM XXXXXXXXXXXXX
> User-Agent: User-Agent: BLAHMAN
> Host: HOST.HOST.COM
> Accept: */*
>
> HTTP/1.1 401 Unauthorized
> Content-Length: 0
> WWW-Authenticate: NTLM XXXXXXXXXXXXXXXXX
> Date: Fri, 07 Sep 2012 19:10:33 GMT
>
> GET /Reports/Pages/Report.aspx?ItemPath=%2fSD%2fAvailable_Talent_UAT HTTP/1.1
> Authorization: NTLM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> User-Agent: User-Agent: BLAHMAN
> Host: HOST.HOST.COM
> Accept: */*
>
> HTTP/1.1 401 Unauthorized
> Content-Length: 0
> WWW-Authenticate: NTLM
> Date: Fri, 07 Sep 2012 19:10:33 GMT
>
>
>
> On Fri, Sep 7, 2012 at 10:14 AM, Peter Kristolaitis <alter3d at alter3d.ca> wrote:
>> Have you tried changing your extraargs to
>> --NTLM -u "DOMAIN\\USERNAME:PASSWORD"
>> (note the extra \ ...). The backslash is likely being used as an escape
>> character when it gets passed to the shell and so isn't actually used at
>> all.
>>
>> - Pete
>>
>> On 12-09-07 09:54 AM, Stefano Pirrello wrote:
>>> Hi,
>>>
>>> Is there a way to send a CURL probe with NTLM authentication so I
>>> don't receive a 401 response? I'm trying to probe to a MS Reporting
>>> Services site but I'm only getting 401s and I've setup the NTLM info
>>> on the probe but it doesn't seem to be working. Using 301 redirects
>>> won't suffice my needs, I need to know the application is up and
>>> serving pages.
>>>
>>> ++ Curl
>>> probe = Curl
>>> extraargs = --NTLM -u "DOMAIN\USERNAME:PASSWORD"
>>> urlformat = http://%host%
>>> #forks = 10
>>> #step = 60
>>> pings = 20
>>> menu = HTTP Latency
>>> title = HTTP Latency
>>>
>>>
>>> +++ CBRS-VIP
>>> host = SITE.DOMAIN.COM
>>> urlformat = http://%host%/Reports/Pages/Report.aspx?
More information about the smokeping-users
mailing list