Skip to main content
Jamf Nation, hosted by Jamf, is a knowledgeable community of Apple-focused admins and Jamf users. Join us in person at the ninth annual Jamf Nation User Conference (JNUC) this November for three days of learning, laughter and IT love.

Overriding Default Distribution Point Settings on a Per Policy Basis

Hi All,

We image via Casper & the first run script calls a ploy via a manual trigger that does the below.

As at this time the clients do not have our internal CA cert we've historically set this policy to use AFP/SMB, once this has completed the Mac will have the Internal CA Cert & then HTTPS will work for the DP's.

Prior to v9 you used to be able to select AFP/SMB on a per policy & not just a per package basis. (See Page 290 of Casper Admin 8.7 guide or: https://jamfnation.jamfsoftware.com/article.html?id=130).

Please bring this back.

If a Mac's time is too far out &/or it does't have the signing cert for HTTPS then these post flight policies fail.

An error occurred while running the policy "OSX Postflight Config" on the computer "MAC". Actions from policy log: Executing Policy OSX Postflight Config... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-03.fqdn.com/CasperShare/Scripts/001 Managed Dummy Receipt.sh... Error running script: The script could not be found on the server.. Retrying using distribution point LS-MAC-JSS-02... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-02.fqdn.com/CasperShare/Scripts/001 Managed Dummy Receipt.sh... Error running script: The script could not be found on the server.. Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-03.fqdn.com/CasperShare/Scripts/002 Set Auto Proxy URL By IP.sh... Error running script: The script could not be found on the server.. Retrying using distribution point LS-MAC-JSS-02... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-02.fqdn.com/CasperShare/Scripts/002 Set Auto Proxy URL By IP.sh... Error running script: The script could not be found on the server.. Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-03.fqdn.com/CasperShare/Scripts/002 Update FSTAB with UUID of Users HD.sh... Error running script: The script could not be found on the server.. Retrying using distribution point LS-MAC-JSS-02... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-02.fqdn.com/CasperShare/Scripts/002 Update FSTAB with UUID of Users HD.sh... Error running script: The script could not be found on the server.. Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-03.fqdn.com/CasperShare/Scripts/004 Set Time Server & Zone By IP.sh... Error running script: The script could not be found on the server.. Retrying using distribution point LS-MAC-JSS-02... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-02.fqdn.com/CasperShare/Scripts/004 Set Time Server & Zone By IP.sh... Error running script: The script could not be found on the server.. Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-03.fqdn.com/CasperShare/Scripts/006 Set Computer Name To Serial Number.sh... Error running script: The script could not be found on the server.. Retrying using distribution point LS-MAC-JSS-02... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-02.fqdn.com/CasperShare/Scripts/006 Set Computer Name To Serial Number.sh... Error running script: The script could not be found on the server.. Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-03.fqdn.com/CasperShare/Scripts/010 Delete iLife Suite If Mavericks.sh... Error running script: The script could not be found on the server.. Retrying using distribution point LS-MAC-JSS-02... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-02.fqdn.com/CasperShare/Scripts/010 Delete iLife Suite If Mavericks.sh... Error running script: The script could not be found on the server.. Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-03.fqdn.com/CasperShare/Scripts/010 Remove Dock Fixup.sh... Error running script: The script could not be found on the server.. Retrying using distribution point LS-MAC-JSS-02... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-02.fqdn.com/CasperShare/Scripts/010 Remove Dock Fixup.sh... Error running script: The script could not be found on the server.. Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-03.fqdn.com/CasperShare/Scripts/010 Set IT Service Desk Login Window Message.sh... Error running script: The script could not be found on the server.. Retrying using distribution point LS-MAC-JSS-02... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-02.fqdn.com/CasperShare/Scripts/010 Set IT Service Desk Login Window Message.sh... Error running script: The script could not be found on the server.. Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-02.fqdn.com/CasperShare/Scripts/010 Unlock Printers For All Users.sh... Error running script: The script could not be found on the server.. Retrying using distribution point LS-MAC-JSS-03... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-03.fqdn.com/CasperShare/Scripts/010 Unlock Printers For All Users.sh... Error running script: The script could not be found on the server.. Setting Software Update Server to http://LS-MAC-JSS-02.fqdn.com:8088/index.sucatalog for all accounts... Installing all available Software Updates... Result of Software Update: Software Update Tool Copyright 2002-2012 Apple Inc. Finding available software Downloading iBooks Update Downloading OS X Update Downloading Remote Desktop Client Update Downloading MacBook Air SMC Firmware Update Downloaded Remote Desktop Client Update Downloaded MacBook Air SMC Firmware Update Downloading iTunes Downloaded iBooks Update Downloaded iTunes Downloaded OS X Update Installing iBooks Update, OS X Update, MacBook Air SMC Firmware Update, iTunes, Remote Desktop Client Update Done with iBooks Update Done with OS X Update Done with iTunes Done with Remote Desktop Client Update Done with MacBook Air SMC Firmware Update Done. You have installed one or more updates that requires that you restart your computer. Please restart immediately. A reboot was required with one or more of the installed updates. Binding MAC to fqdn.com... Bound to Active Directory (fqdn.com) Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-03.fqdn.com/CasperShare/Scripts/010 Correct All User Accounts Permissions.sh... Error running script: The script could not be found on the server.. Retrying using distribution point LS-MAC-JSS-02... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-02.fqdn.com/CasperShare/Scripts/010 Correct All User Accounts Permissions.sh... Error running script: The script could not be found on the server.. Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-02.fqdn.com/CasperShare/Scripts/010 DockUtil CS6 Post Flight.sh... Error running script: The script could not be found on the server.. Retrying using distribution point LS-MAC-JSS-03... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-03.fqdn.com/CasperShare/Scripts/010 DockUtil CS6 Post Flight.sh... Error running script: The script could not be found on the server.. Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-02.fqdn.com/CasperShare/Scripts/010 Set AD Password Interval.sh... Error running script: The script could not be found on the server.. Retrying using distribution point LS-MAC-JSS-03... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-03.fqdn.com/CasperShare/Scripts/010 Set AD Password Interval.sh... Error running script: The script could not be found on the server.. Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-03.fqdn.com/CasperShare/Scripts/010 Set Guest User Access To Shared Folders.sh... Error running script: The script could not be found on the server.. Retrying using distribution point LS-MAC-JSS-02... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-02.fqdn.com/CasperShare/Scripts/010 Set Guest User Access To Shared Folders.sh... Error running script: The script could not be found on the server.. Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-03.fqdn.com/CasperShare/Scripts/010 Software Update Schedule On Off.sh... Error running script: The script could not be found on the server.. Retrying using distribution point LS-MAC-JSS-02... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-02.fqdn.com/CasperShare/Scripts/010 Software Update Schedule On Off.sh... Error running script: The script could not be found on the server.. Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-02.fqdn.com/CasperShare/Scripts/012 Remove SpeedGrade symbolic link.sh... Error running script: The script could not be found on the server.. Retrying using distribution point LS-MAC-JSS-03... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-03.fqdn.com/CasperShare/Scripts/012 Remove SpeedGrade symbolic link.sh... Error running script: The script could not be found on the server.. Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-02.fqdn.com/CasperShare/Scripts/014 Disable Java 7 Auto Updates.sh... Error running script: The script could not be found on the server.. Retrying using distribution point LS-MAC-JSS-03... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-03.fqdn.com/CasperShare/Scripts/014 Disable Java 7 Auto Updates.sh... Error running script: The script could not be found on the server.. Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-02.fqdn.com/CasperShare/Scripts/016 Enable ARD & VNC.sh... Error running script: The script could not be found on the server.. Retrying using distribution point LS-MAC-JSS-03... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-03.fqdn.com/CasperShare/Scripts/016 Enable ARD & VNC.sh... Error running script: The script could not be found on the server.. Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-03.fqdn.com/CasperShare/Scripts/016 Install Flash Player Post Flight.sh... Error running script: The script could not be found on the server.. Retrying using distribution point LS-MAC-JSS-02... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading https://mac-jss-02.fqdn.com/CasperShare/Scripts/016 Install Flash Player Post Flight.sh... Error running script: The script could not be found on the server.. Fixing Permissions... Fixing ByHost files... Flushing System Caches... Flushing User Caches... Verifying Disk mounted at '/' Result of disk verification: Started file system verification on disk0s2 Macintosh HD Checking file system Performing live verification Checking Journaled HFS Plus volume Checking catalog hierarchy Checking extended attributes file Finished file system verification on disk0s2 Macintosh HD Running Recon... Retrieving inventory preferences from https://jss.fqdn.com:8443/... Locating accounts... Searching path: /Applications Locating package receipts... Gathering application usage information... Locating printers... The complete policy log is available in the JSS at: https://jss.fqdn.com:8443/policies.html?id=1073&o=l Computer ID: 325
Comment