→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
blunderdog
Engaged Sweeper
I need to generate PDF copies of the reports generated on the report tab of an asset. By finding the AssetIDs of a 50 assets, I can manually create a list of urls similar to "https://lansweeper.mydomain.com:82/reportdet.aspx?AssetID=9916&print=1". I can read this list in as a .csv file to wkhtmltopdf. This is a utility that will generate a single PDF from all the urls in the csv.

Unfortunately, the command line passes the correct info but fails because authentication is required. I've tried passing my domain credentials using --username --password but authentication always fails.

Anyone have a potential solution.
1 REPLY 1
CyberCitizen
Honored Sweeper
blunderdog wrote:
I need to generate PDF copies of the reports generated on the report tab of an asset. By finding the AssetIDs of a 50 assets, I can manually create a list of urls similar to "https://lansweeper.mydomain.com:82/reportdet.aspx?AssetID=9916&print=1". I can read this list in as a .csv file to wkhtmltopdf. This is a utility that will generate a single PDF from all the urls in the csv.

Unfortunately, the command line passes the correct info but fails because authentication is required. I've tried passing my domain credentials using --username --password but authentication always fails.

Anyone have a potential solution.


Are you passing the domain credentials as well eg --username DOMAIN\TestUser