[Casper] set network time at startup?
David Lundgren
david.lundgren at brooks.edu
Fri Nov 14 12:37:52 PST 2008
We've had the same problems with time issues on our Macs and ended up
writing a custom synchronization script. It could handle some enhancements
and possibly hooking into the system better. Right now it waits for 2
minutes before trying to synchronize on startup. We also have the script run
every day at 9am (via /etc/periodic/daily).
We use the servers in this order:
1) time.nist.gov
2) the ADC
Each computer synchronizes twice. Once for each server in the list.
I haven't tested it on Leopard yet, but I know on Tiger you had to kill
Ntpd and ntpdate in order to get the time to actually be updated, which is
why you get "NTP socket is in use." errors.
I've attached the script that we run, if you plan on using it you should
replace "time.example.com" with the server you want it to sync with.
Hope that helps, and gives you a direction to look in.
David Lundgren
IT Systems Administrator
Brooks Institute - "Passion, Vision, Excellence"
27 East Cota Street
Santa Barbara, CA 93101
(888) 304-3456 (toll-free)
(805) 690-7615 (office)
http://www.brooks.edu
On 11/4/08 1:19 PM, "NATHANIEL.LINDLEY at spps.org"
<NATHANIEL.LINDLEY at spps.org> wrote:
> I got Issues with timesync on dual-boot macs.
>
> We have AD which is more time sensitive now and some people are having
> login issues when going back and forth between Mac OS and WinXP on
> BootCamp. So I've been reading a lot about this and haven't found a good
> fix.
>
> I'd like to set two time servers in ntpd.conf one internal and one
> external, for users that take their laptops home.
> then I'd like a startup trigger that says, sync network time. I tried
> ntpdate in Terminal but it says "NTP socket is in use." and in the
> Console, I get a lot of errors about "(org.ntp.ntpd) Unknown key:
> SHAutorizationRight"
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TimeSync
Type: application/octet-stream
Size: 761 bytes
Desc: not available
Url : http://list.jamfsoftware.com/pipermail/casper/attachments/20081114/d43ce494/attachment.obj
More information about the Casper
mailing list