Hi all,
I have an MCX Managed Preference I called "Internal Time Server"
User Level Enforced
Domain: ~/Library/Preference/com.apple.MCX
Key: timeServer
Value: myjss.server.com
And it works great. All my Macs point to myjss.server.com and the JSS points to our AD Controller for its time.
The above MCX Preference 'grays out' the field (in Date & Time) to enter in a time server address and keeps the myjss.server.com in there. The actual config file is /etc/ntp.conf and reads as such
server myjss.server.com
Now here is the situation.
Laptop users go abroad somewhere else on the planet with a different time zone. They are knowledgeable enough to change the Time Zone settings and that keeps the System and Office apps (Entourage 14.. I mean Outlook 2011) in order but again, if the battery dies complete as they let it do, and of course being on the outside of our hallowed network the clock never fixes until they come back to the office. Which can be a while.
So I tried to edit with pico /etc/ntp.conf to read as such:
server myjss.server.com prefer
server time.euro.apple.com
Awesome!!! I got 2 Time Servers to ping to. Internally preferred and externally as a backup. The Date & Time Control Panel reads both entries separated by a comma. But after reboot, my serious pico edits are gone gone gone and revert to what the MCX says.
Bummer.
So I edited the above MCX Managed Preference's (from within the JSS) to read:
Value: myjss.server.com prefer, time.euro.apple.com
After reboot I can read the /etc/ntp.conf but all inline as:
server myjss.server.com prefer, time.euro.apple.com
Then looking at the Date & Time Control Panel shows only myjss.server.com so it seems that didn't work.
I also tried using a semi-colon thinking that as the 'escape' character but nope.
Guess I can make a local shell script that will ensure the ntp.conf file is written correctly. But I was hoping it to be done via MCX. I like MCX.. Give me a God Complex!
Lol
Thanks in advance!
-pat
