[Samba] Eficient method to run [net time \\server] on logon script with winxp+domain ?

Eric Boehm boehm at nortel.com
Tue Oct 14 19:17:16 GMT 2008

On Tue, Oct 14, 2008 at 01:00:59PM -0600, Jeff Ross wrote:
>>>>> "Jeff" == Jeff Ross <jross at wykids.org> writes:

    f> Bruno La Torre wrote:
    >> hamacker ha scritto:
    >>> I can not find any element inside gpedit to change that.  Do
    >>> you know, what element I can change that ?
    >>> hamacker ha scritto:
    >>>>> Any eficient method to run [net time \\server] on logon
    >>>>> script with winxp+domain ?
    >> configuration computer windows settings protection settings
    >> local settings set right user set change time
    >> sorry for my traslation.

This might be slightly off topic but is there some reason you don't
use NTP instead. More accurate, less overhead, less maintenance.

You could set up the Samba server(s) as NTP time servers for your
local subnet and run

net time /setsntp:"ntp server list" just once and you would be good to
go. You wouldn't need to worry about time after that.

    Jeff> By co-incidence I've just been looking into this myself.

    Jeff> I found this article most helpful:

    Jeff> http://blogs.msdn.com/aaron_margosis/archive/2005/02/11/371474.aspx

    Jeff> If I use INTERACTIVE as suggested, my netlogon script is
    Jeff> able to sync the time to the samba server.  Non-privledged
    Jeff> users are not able to set the time at the toolbar clock,
    Jeff> though.

Eric M. Boehm                  /"\  ASCII Ribbon Campaign
boehm at nortel.com               \ /  No HTML or RTF in mail
                                X   No proprietary word-processing
Respect Open Standards         / \  files in mail

More information about the samba mailing list