in reply to Re^3: Windows single sign-on / NTLM question
in thread Windows single sign-on / NTLM question
As a follow-up, in case any other sad sad person wants to do something silly like me.... It appears that the least clunky, but still not 100% Perl solution is to use PowerShell to grab the file. This works for my situation because most of the desktops have PowerShell installed as part of my company's default image and for those who don't, it's approved software on our internal Software Center. In any event, the relevant PS code snip is:
Invoke-WebRequest -Uri $REMOTE -OutFile $LOCAL -UseDefaultCredentialsSpecifically, that "UseDefaultCredentials" will tell PS to throw your windows login info to the server. I've not actually integrated into my scripts, but as a proof of concept, it works.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Windows single sign-on / NTLM question
by haukex (Archbishop) on Jan 23, 2019 at 19:48 UTC |