Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-2307: How to set a network time server via Group Policy on Mac OS X

Centrify Identity Service, Mac Edition ,  

12 April,16 at 11:47 AM

Applies to: Centrify DirectControl on all versions of Mac OS X
 
Question:
 
There are no group policies for configuring the NTP time server settings in the Date & Time preferences on a Mac system.
 
Can this be centrally managed via GP?
 

Answer:
 
This setting can be applied using the systemsetup command, which in turn can be pushed out via the "Specify commands to run" GP:
 
  Computer Configuration / Centrify Settings / Common UNIX Settings / "Specify commands to run" 
 
Enable this GP and add the following two commands: 
 
  systemsetup -setnetworktimeserver timeserver.domain.com 
  systemsetup -setusingnetworktime on 
 
(Replace "timeserver.domain.com" with the IP or FQDN of the desired time server) 
 
After the GP is saved, go to the Mac and either wait for a group policy refresh, or run the following to refresh it immediately:
 
  adgpupdate
 
Fully quit and reopen the Date & Time preferences and the new time server settings will now be displayed.
 
 
For more information on the systemsetup command, please see the following Apple documentation: (Provided as a courtesy)

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.