On Fri, Aug 28, 2009 at 12:18 PM, Jean-Jacques Moulis<j...@isy.liu.se> wrote:
> On Fri, 28 Aug 2009 10:29:56 +0200 Witold Tosta <witold.to...@neostrada.pl> 
> wrote:
>
> WT> Liutauras Adomaitis pisze:
> WT> >> So I change the their local policy setting. Dumb solution, bo I cannot 
> do
> WT> >> that other way.
> WT> >
> WT> > Do do it by hand on all computers localy?
>
> WT> Unfortunately for now I do it that way :-(
>
> WT> Maybe someone have some civilized solution ?
>
> WT> Witek
>
>
> ntrights -u "Domain Users" +r SeSystemTimePrivilege  -m \\computer
>
> Use Wpkg  WWW.wpkg.org to automate this (and many other things)
>
> but why give this right to users?
> you could synchronize clocks by other means
>
> run the following on every client (via Wpkg or psexec or ...)
>
> sc config w32time start= auto
> net time /setsntp:your.favorite.ntp.server
> net stop w32time & net start w32time
> w32tm /resync /nowait
>

Ok, I changed my root preexec scriipt to include command to sync time
with winexec tool. Seems to be working. This is not a proper way, but
if it works I can call it quick and dirty way to sync time. I couldn't
test it with vista machines, but i'll do it later.

Liutauras
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to