cheshireguy2001 Posted April 29, 2011 Posted April 29, 2011 Please if there is a God someone have and answer to this question. We were bullied by our Music Department into buying MAC's. (Snow Leopard) To ensure we could track user logins we have joined them to our Active Directory Domain, this all worked out fine until we noticed that the clock was wandering randomly so much so it stopped people logging on to the domain. The upshot is we are getting phone calls some times weekly with complaints people cannot log on. Once you log on locally reset the clock all is well. Tried setting the time service to point at Apple and our own Time Server to no avail. Our Senior tech is about to throw them in the bin (or make shiny book ends), very frustrating. Anyone with an answer - greatly appreciated. P.S any MAC lovers about to blame windows or say it's not really broken it's a feature please do not post. Don't get me wrong I think MACs have a place but it is worrying when a device cannot keep it's clock in sync.
kmount Posted April 29, 2011 Posted April 29, 2011 Hi there. I'd work out why NTP isn't working properly to keep the time in check.
SYNACK Posted April 29, 2011 Posted April 29, 2011 Add one or more of the DC ip addresses into DHCP under the time servers option, this will point them at the servers for NTP and should get it going again nicely. You can also set your timezone etc in there aswell for some nice easy setups of compatible devices that need to access stuff via kerberos.
SYNACK Posted April 29, 2011 Posted April 29, 2011 Oh and your right, Macs do have their uses :D : http://greenopolis.com/files/images/imacs08.png
cheshireguy Posted April 29, 2011 Posted April 29, 2011 At the end of the day it all comes down to config files. Looks like you can't edit the ntp.conf file because after a reboot it reverts same with loads of other ntp and ntpd file which I have tried to hack. However I have changed the hostconfig file to read in /etc to read TIMESYNC=-YES- I then restart the ntp service and the time changed to the correct time. To be honest not sure what has happened, me thinks I have stop it using NTP so it has reverted to it's Hardware Clock - which is obviously right. I may be completly wrong, however it seems to be working - watch this space. Going to join the machine to AD and we'll see;) 1
dave.81 Posted May 2, 2011 Posted May 2, 2011 We are having the same issue and it's been driving me up the wall having to reset them each time they are booted to windows. Off to try your fix now......
cheshireguy Posted May 2, 2011 Posted May 2, 2011 OK - over the weekend, the time did slip, however I have found another bit of info which seems to set the ntp.conf file and fix it. NTP Clients Again the following should be done in the described order. On Mac OS X Clients and on those Mac OS X Servers that are to act as NTP clients (that means they query a time server but do not answer NTP queries) the following needs to be done: In System Preferences ("Date and Time" pref pane) "synchronize time automatically" must be ticked; then the first tab of this pref pane must be activated and the window left open. Then in Terminal a time server to sync with must be added to /etc/ntp.conf like so (as to finding the right time server see above): server mein.zeitserver.de prefer iburst minpoll 12 maxpoll 15 Now /etc/ntp.conf must be saved and made unchangeble: sudo chflags uchg /etc/ntp.conf After that the System Preferences can be closed. On a Mac OS X Client that is all. On a Mac OS X Server the file /etc/hostconfig must be edited to contain: TIMESYNC=-YES- Still working on it
dave.81 Posted May 2, 2011 Posted May 2, 2011 Ours doesn't move unless we boot to windows, then we end up a whole hour out... Driving me mad resetting them.
osxman Posted May 3, 2011 Posted May 3, 2011 Had the same issue previously and this is what I did to resolve it. Never had a time sync problem since. Xserve points to win 2008 time server Mac clients point to Xserve for time This certainly has resolved our mac time related issues.
cheshireguy Posted May 4, 2011 Posted May 4, 2011 Checked with the MAC today all seems well. We don't have a MAC server or boot camp/parallels etc. The trick I posted above does seem to be working Open Terminal Sudo vi /etc/ntp.conf change server to server your time server Make /etc/ntp.conf unchangeble: sudo chflags uchg /etc/ntp.conf Edit the /etc/hostconfig must be edited to contain: TIMESYNC=-YES- Save and close out of terminal Ensure in preferences on date and time that the use time server is ticked - don't worry which Apple server it points to that is irrelevant. Wne I get 5 mins I will post the proper process but I want to check it works over a longer period
nonmonotonic Posted May 4, 2011 Posted May 4, 2011 This has been discussed before and here is my suggestion. Interesting stuff from the NTP people themselves. I'm in a mixed Mac/PC environment and have no problems syncing to our Windows Domain Controller (NTP server). Tick set time & date automatically in preferences and point to your NTP server I do use the IP address not the name.
nonmonotonic Posted May 4, 2011 Posted May 4, 2011 This has been discussed before and here is my suggestion. Interesting stuff from the NTP people themselves. I'm in a mixed Mac/PC environment and have no problems syncing to our Windows Domain Controller (NTP server). Tick set time & date automatically in preferences and point to your NTP server. I do use the IP address not the server name.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now