Forum Discussion
Dbow_21284
Nimbostratus
Jul 10, 2009Monitor HTTP Site needing NTLM to Test for Return String
I need to come up with a monitor for an HTTP site that requires NTLM authentication to access. Basically, our developers have a specific ASPX file I want to call and test a for a return string. The ...
Dbow_21284
Nimbostratus
Jul 10, 2009OK Duh .. thanks ... got this response below and I see the "1-UP" I am expecting. I get a 401 and 200 OK.
* About to connect() to intranet.acc.org port 80
* Trying 10.10.185.40... connected
* Connected to intranet.acc.org (10.10.185.40) port 80
* Server auth using NTLM with user 'ACC-INFO\ddenbow'
> GET /whatsup.aspx HTTP/1.1
> Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=
> User-Agent: curl/7.15.3 (i686-redhat-linux-gnu) libcurl/7.15.3 OpenSSL/0.9.7l zlib/1.1.4
> Host: intranet.acc.org
> Accept: */*
>
< HTTP/1.1 401 Unauthorized
< Content-Length: 1539
< Content-Type: text/html
< Server: Microsoft-IIS/6.0
< WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAAAAADgAAAACAgACo2s6ifmDy88AAAAAAAAAAAAAAAA4AAAABQLODgAAAA8=
< MicrosoftSharePointTeamServices: 12.0.0.6305
< X-Powered-By: ASP.NET
< Date: Fri, 10 Jul 2009 21:06:54 GMT
* Ignoring the response-body
* Connection 0 to host intranet.acc.org left intact
* Issue another request to this URL: 'http://intranet.acc.org/whatsup.aspx'
* Re-using existing connection! (0) with host intranet.acc.org
* Connected to intranet.acc.org (10.10.185.40) port 80
* Server auth using NTLM with user 'ACC-INFO\ddenbow'
> GET /whatsup.aspx HTTP/1.1
> Authorization: NTLM TlRMTVNTUAADAAAAGAAYAE8AAAAYABgAZwAAAAgACABAAAAABwAHAEgAAAAAAAAATwAAAAAAAAB/AAAAAYIAAEFDQy1JTkZPZGRlbmJvdztajC9fziKnMnZ7GmFqVp8la/GU/V5u/Oe/q2WbJHVxrSl0dao+cH/NfUWEFAW2+Q==
> User-Agent: curl/7.15.3 (i686-redhat-linux-gnu) libcurl/7.15.3 OpenSSL/0.9.7l zlib/1.1.4
> Host: intranet.acc.org
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Fri, 10 Jul 2009 21:06:54 GMT
< Server: Microsoft-IIS/6.0
< MicrosoftSharePointTeamServices: 12.0.0.6305
< X-Powered-By: ASP.NET
< X-AspNet-Version: 2.0.50727
< Set-Cookie: WSS_KeepSessionAuthenticated=80; path=/
< Cache-Control: private, max-age=0
< Expires: Thu, 25 Jun 2009 21:06:54 GMT
< Last-Modified: Fri, 10 Jul 2009 21:06:54 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 597
<br>
>> name="form1" method="post" action="whatsup.aspx" id="form1">
1-UP
Connection 0 to host intranet.acc.org left intact
* Closing connection 0
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
