in reply to LWP::UserAgent Authentication
CPAN module LWP::Authen::Ntlm should be able to help you, as it has been designed to deal with Ntlm type of authentication. You probably have it installed with LWP already.
So in your code there is no need to add the subroutine, just use the credentials method, e.g.:
use LWP; my $ua = new LWP::UserAgent(keep_alive=>1); $ua->credentials('www.company.com:80', '', "MyDomain\\MyUsername", 'M +yPassword');
To improve the readability of your question pls see Writeup formatting Tips
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: LWP::UserAgent Authentication
by palladinob (Novice) on Mar 20, 2007 at 17:21 UTC | |
by varian (Chaplain) on Mar 20, 2007 at 17:46 UTC | |
by palladinob (Novice) on Mar 20, 2007 at 18:46 UTC | |
by varian (Chaplain) on Mar 20, 2007 at 19:37 UTC | |
| |
by eric256 (Parson) on Mar 20, 2007 at 19:40 UTC |