jamfcpr icon indicating copy to clipboard operation
jamfcpr copied to clipboard

Crashes in SaveA

Open rs1278 opened this issue 3 years ago • 3 comments

jamfcpr crashes when running in Save Only mode

I am running an M1 MacbookPro and are running a JAMF cloud instance with SSO enabled. Our SSO uses PIV smart card authentication, however, I have tried using a non-SSO enabled local JAMF account and the behavior continues. I have also tried using https://.jamfcloud/?failover to see if anything changes, but this also did not work.

rs1278 avatar Oct 27 '22 17:10 rs1278

Works fine migrating packages to another server? Lists packages work in save only mode? If you're able to share the log file (~/Library/Logs/jamfcpr/*****jamfcpr.log) that may help track down the issue.

BIG-RAT avatar Nov 04 '22 07:11 BIG-RAT

20221107_091910_jamfcpr copy.log

Thanks for the response, here is the log file. I have redacted part of our jamf cloud URL for privacy reasons.

this is the full log after jamfcpr crashes

rs1278 avatar Nov 07 '22 16:11 rs1278

curious if there is any insight after peaking at the logs?

rs1278 avatar Dec 13 '22 20:12 rs1278

I'm still stumped. Curious what login window is displayed (SSO of standard Jamf Pro) when you hit https://.jamfcloud.com/packages.html Might try the url in a private window to ensure existing credentials aren't passed. I should also ask if you're able to login with the credentials you're using in jamfcpr, and see the packages. Again, is it just an issue with save only mode, does migrating from one server to another work?

BIG-RAT avatar Dec 14 '22 12:12 BIG-RAT

Screenshot 2022-12-14 at 9 35 46 AM This is where I land...Its asking for our smart card authentication. If I click cancel, I can proceed to our smart card SSO failover screen for username/password authentication.

Could there maybe be a way to leverage the API within jamfCPR as a workaround here?

rs1278 avatar Dec 14 '22 16:12 rs1278

Thanks for the speedy reply. Actually working to get rid of the call to packages.html and use the API to check access rights.

BIG-RAT avatar Dec 14 '22 16:12 BIG-RAT

Awesome! Hopefully, API calls will resolve this.

To answer your other questions, I've only tried save mode, as I don't have a need for server migration and I don't see any packages in jamfcpr.

rs1278 avatar Dec 14 '22 17:12 rs1278

Just occurred to me, https://your.jamfcloud.com/legacy/packages.html?id=-1&o=c is also queried, but only for copying packages to the destination server so Save Only should work. Information obtained there can't be gathered from the API.

BIG-RAT avatar Dec 14 '22 20:12 BIG-RAT

Authentication changed. As time permits let me know if the issue is resolved in v3.5.0.

BIG-RAT avatar Dec 20 '22 04:12 BIG-RAT

This fixed the issue. Thanks!!

rs1278 avatar Dec 20 '22 16:12 rs1278