[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Setting the time with Samba



Hi...
When you run the net time command....
does your win9x box even have its clock changed?

Are you aware that without the /set /y options...nothing will
happen?

Mike
----- Original Message -----
From: "Andrew Pollock" <andrew@andrew.net.au>
To: "Mike Egglestone" <megglestone@heritage.sd57.bc.ca>
Cc: <debian-user@lists.debian.org>
Sent: Sunday, May 27, 2001 12:17 AM
Subject: Re: Setting the time with Samba


> Sorry if my problem was not clear...
>
> The Windoze box is reporting a totally different time to what's on the
> Linux box when I use the net time command.
>
> On Sat, 26 May 2001, Mike Egglestone wrote:
>
> > Hi...
> > The Samba list guys should know more about this stuff...
> > but you may want to try this in your netlogon batch file......
> >
> > net use \\samba /set /y
> >
> > Hope this helps...
> > Mike
> > ----- Original Message -----
> > From: "Andrew Pollock" <andrew@andrew.net.au>
> > To: <debian-user@lists.debian.org>
> > Sent: Saturday, May 26, 2001 12:58 AM
> > Subject: Setting the time with Samba
> >
> >
> > > Hi,
> > >
> > > I was being lazy, and was going to sync the time on my Windoze box
against
> > > my Linux box, using the "net time" command from a DOS box.
> > >
> > > Here's what happened:
> > >
> > > C:\WINDOWS>net time \\caesar
> > > Current time at \\CAESAR is 5-26-2001 2:53A.M.
> > > The command was completed successfully.
> > >
> > > But on my Linux box:
> > >
> > > caesar:/home/apollock# date
> > > Sat May 26 17:56:20 EST 2001
> > >
> > > I'm pretty sure I do have my hardware clock set to UTC (how can you
> > > tell?), but even then:
> > >
> > > caesar:/home/apollock# date --utc
> > > Sat May 26 07:57:06 UTC 2001
> > >
> > > So I'm at a bit of a loss to work out what's going on with respect to
the
> > > time differences.
> > >
> > > The timezone on the Linux box is same as the Windoze box.
> > >
> > > Any suggestions?
> > >
> > > Andrew
> > >
> > >
> > > --
> > > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > > with a subject of "unsubscribe". Trouble? Contact
> > listmaster@lists.debian.org
> > >
> > >
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
> >
>
>



Reply to: