time sync problem

Dmitry Melekhov dm at belkam.com
Mon Jun 25 13:48:55 GMT 2001


"James A. Sutherland" wrote:

> On Mon, 25 Jun 2001 18:31:36 +0500, you wrote:
>
> >Hello!
> >
> >net time works OK from command prompt, but if I add it into
> >user's login script I get following:
> >
> >-------------------
> >Z:\>net time \\etc /set /yes
> >Current time at \\etc is 6/25/2001 6:29 PM
> >
> >System error 1314 has occurred.
> >
> >A required privilege is not held by the client.
> >-------------------
> >
> >How to solve this problem?
>
> This is NT, I take it? Under NT, you need to have rights to "Change
> the system time", which by default only Administrators and Server
> Operators have. If you want this login script to work, you can give
> all your users this privilege via User Manager for Domains; a better
> approach, IMO, is to install an NTP client as a service on each
> workstation...

If I start net time from the same user, all works OK.

Problem is only in login script!

--
Wire connection and Windows reinstallation senior engineer
Dmitry Melekhov
http://www.belkam.com/~dm
2:5050/11.23 at fidonet







More information about the samba-technical mailing list