Posted on 03-26-2021 09:24 AM
I'm trying to set up and test LogCollection. I created a Jamf user account and want to give it the barest privileges, only what is needed to connect and upload the logs. The only privileges I have configured for this account is create/update Attachment Assignments and create/update File Attachments.
When I run the policy, I get the error "The request requires user authentication". What else do I need to provide this account to be able to connect and upload the log files?
Solved! Go to Solution.
Posted on 03-26-2021 01:51 PM
Found answer in FAQ https://github.com/kc9wwh/logCollection/wiki/FAQ's
Posted on 03-26-2021 10:45 AM
I configured my LogCollection account with full access and I'm still getting the same error. I can read the inventory information successfully by pointing my browser to https://(server).jamfcloud.com/JSSResource/computers/serialnumber/(serial)/subset/general. It seems to fail at the file upload part of the script.
Posted on 03-26-2021 11:08 AM
It works fine if using logCollection.sh, I was trying to use logCollection-encStrings.sh to encrypt the password. Why is that one not working? I'm confused about this command in the script:
jamfProPass=$( echo "$6" | /usr/bin/openssl enc -aes256 -d -a -A -S "$8" -k "$9" )
What is &8 and &9, there are no arguments passed for those.
Posted on 03-26-2021 01:51 PM
Found answer in FAQ https://github.com/kc9wwh/logCollection/wiki/FAQ's
Posted on 04-05-2022 05:18 PM
@bootrec Thanks that saved me alot of time : )
Posted on 02-09-2023 06:05 AM
Can someone please help me with the exact Jamf user permissions ?
Posted on 02-14-2023 02:06 PM