NTLM question?

NTLM question?

am 22.12.2004 17:06:20 von JWMILLER

Greetings,

My script is to access a page served by IIS. The web site is configured
with "Integrated Windows Authentication" and protected with an Active
Directory "group". This configuration signals IIS to prompt for "domain"
username/password before access to the web site is granted.

Thus far, the script has been unable to get past the prompting, by IIS, for
username/password.

My script and the responses it generates follow.

Any suggestions will be appreciated.

What is this line of output telling me?

LWP::UserAgent::_need_proxy: Not proxied

thanks

-john



NOTE: information enclosed in {} has been changed for this posting

...script follows..

use strict;
use LWP;
use LWP::Debug qw(+);

my $url = shift;

my $agent = new LWP::UserAgent(keep_alive=>1);
$agent->credentials
('{machine.cc.iup.edu}:80',,"{domain}\\{username}",'{passwor d}');

my $request = HTTP::Request->new(GET => $url);
my $response = $agent->request($request);
$response->is_success or die "$url: ",$response->message,"\n";

print $response->content;
print "\n";

...output follows..
prompt>c:\perl\bin\perl -w lwp.pl http://{website URL}/
LWP::UserAgent::new: ()
LWP::UserAgent::request: ()
LWP::UserAgent::send_request: GET http://{website URL}/
LWP::UserAgent::_need_proxy: Not proxied
LWP::Protocol::http::request: ()
LWP::Protocol::collect: read 831 bytes
LWP::Protocol::collect: read 825 bytes
LWP::Protocol::http::request: Keep the http connection to {website URL}:80
LWP::UserAgent::request: Simple response: Unauthorized
http://{website URL}/: Unauthorized