Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Authorizing with NTLM - Problem Domain

by Anonymous Monk
on May 18, 2018 at 06:41 UTC ( [id://1214816]=note: print w/replies, xml ) Need Help??


in reply to Authorizing with NTLM - Problem Domain

does this help? How to select NTLM authentication with LWP

Replies are listed 'Best First'.
Re^2: Authorizing with NTLM - Problem Domain
by Feneden (Acolyte) on May 18, 2018 at 08:39 UTC

    Hey

    not really... I mean, I alreday tried it like this:

    $ua->credentials($Options->{'domain'}, '', $Options->{'user'}, $Options->{'password'});

    and this:

    ntlm_domain($Options->{'domain'}); ntlm_user($Options->{'user'}); ntlm_password($Options->{'password'}); my $Authorization = Authen::NTLM::ntlm();

      I don't know anything about Authen::NTLM, and the docs aren't really helpful here, but the thread linked to in the AM post shows the method being used as $ua->credentials('10.1.1.1:80', '', 'myDomain\\user', 'password');. What is your $Options->{'user'}, have you tried my $Options = { user => 'Domain\\UsernameIsHere', ...?

        I have also tried this:

        { my $Options = user => 'Domain\\UsernameIsHere', password => "***********", domain => 'ServerAddressIsHere.com/', timeout => 30, protocol => "https", AuthMethod => "NTLM", ##BrowserAgent => "MSIE 6.0; Windows NT 5.0", RequestMethod => "GET", ##DataDir => "/tmp", };

        But this would also not lead any further

        Error message is:

        ERROR: Can not dump data from http://ServerAddressIsHere.com/mbSDKServ +ice/MsgSDK.asmx/RunQuery?queryName=QueryNameIsHere Returned code: 401 (401 Unauthorized)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1214816]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-03-29 05:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found