[patch] net time set && net time system on FreeBSD box with
samba-3.0.11
Henrik Nordstrom
hno at squid-cache.org
Thu Mar 10 13:31:08 GMT 2005
On Thu, 10 Mar 2005, Andrew Bartlett wrote:
> Is there a standard format that both expect? #ifdef __FreeBSD__ seems
> like entirely the wrong approach - (for example) what does OpenBSD
> expect?
Why don't you use settimeofday() directly for setting the local system
time if available?
SUSv3 does not define any standard method of setting the system time using
the date command, but settimeofday() is defined in both BSD and SVR4
making it pretty well spread.
Regards
Henrik
More information about the samba-technical
mailing list