When you run Net Time \\somemachine /set you are using the old LanMan
NetTOD api to locate an authoritative time source which doesn't work
because you aren't in the domain and you have already told the box to
use SNTP with the /setsntp arg.

You want to use w32tm to test the SNTP function. Stop W32Time service
and try w32tm -once and observe the console output. The arguments have
changed in 2003 and XP and I don't have a W2K box handy but w32tm /?
will give you all the args.

It is confusing because you can use Net Time with the /setsntp or
/querysntp but all you are doing there is making the registry setting
or reading it.



On Thu, 17 Feb 2005 11:45:42 -0800, Charlie Kaiser
<[EMAIL PROTECTED]> wrote:
> Doesn't work. "System error 5 has occurred. Access is denied."
> The Cisco servers are not in the domain, and the DCs won't allow
> communications from outside.
> If I do a runas with domain credentials, I can make it work, but I was
> hoping for a more elegant solution. I don't like doing runas with domain
> pwds in a file somewhere. It's my biggest beef with runas...
> If I try to do the same to the IP address of our switch, it says
> "network path not found".
> You'd think there would be a way to allow a stand-alone server to synch
> with an external time source...
> 
> **********************
> Charlie Kaiser
> MCSE, CCNA
> Systems Engineer
> Essex Credit / Brickwalk
> 510 595 5083
> **********************
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Al Garrett
> > Sent: Thursday, February 17, 2005 11:08 AM
> > To: ActiveDir@mail.activedir.org
> > Subject: RE: [ActiveDir] Time sync on non-domain W2K server?
> >
> > Seems to me, if the Cisco servers can talk to the DC's via
> > TCP/IP, then
> > you should be able to do a simple
> >
> > NET TIME \\<DCname> /SET /YES
> >
> > NET TIME \\<DCipaddress> .....
> >
> > Make a batch file or run an AT job, anything that syncs them
> > periodically.
> >
> >
> >
> > -----Original Message-----
> > From: Creamer, Mark [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, February 17, 2005 10:53 AM
> > To: ActiveDir@mail.activedir.org
> > Subject: RE: [ActiveDir] Time sync on non-domain W2K server?
> >
> >
> > Interesting...Charlie's message just popped up in my inbox as well.
> > Looks like time sync is a current hot topic. Eagerly awaiting thoughts
> > from the group.
> >
> > <mc>
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> > Charlie Kaiser
> > Sent: Thursday, February 17, 2005 1:23 PM
> > To: ActiveDir@mail.activedir.org
> > Subject: [ActiveDir] Time sync on non-domain W2K server?
> >
> > I have a W2K3 AD domain. Gets its time synch from our Cisco switch,
> > which gets time from outside. Usually works OK; hiccups once
> > in a while;
> > no big deal. I've run into an interesting problem, though. We
> > have Cisco
> > VoIP phones, which display the time on the screen. A user complained
> > because the time was about 6 minutes different between the
> > phone and her
> > PC. I started looking into it, took care of a few things, but came
> > across something I can't resolve. Our Cisco Call Managers (W2K servers
> > running Cisco call-handling apps) are not members of the domain. Cisco
> > documentation says they should be stand-alone servers. I try
> > and use net
> > time /setsntp:switchIPaddress or net time /setsntp:PDCEname.
> > Either one
> > works, but when I do a net time /set, it fails with "Could
> > not locate a
> > time-server". Q243574 explains that only the PDCe can so an external
> > synch. So how do we get a stand-alone machine to set the
> > time? It's kind
> > of important, because the phones get their time display from the Call
> > Managers' OS time. Any ideas? Thanks!
> >
> > **********************
> > Charlie Kaiser
> > MCSE, CCNA
> > Systems Engineer
> > Essex Credit / Brickwalk
> > 510 595 5083
> > **********************
> > List info   : http://www.activedir.org/List.aspx
> > List FAQ    : http://www.activedir.org/ListFAQ.aspx
> > List archive:
> > http://www.mail-archive.com/activedir%40mail.activedir.org/
> >
> >
> > This e-mail transmission contains information that is intended to be
> > confidential and privileged.  If you receive this e-mail and
> > you are not
> > a named addressee you are hereby notified that you are not
> > authorized to
> > read, print, retain, copy or disseminate this communication
> > without the
> > consent of the sender and that doing so is prohibited and may be
> > unlawful.  Please reply to the message immediately by informing the
> > sender that the message was misdirected.  After replying,
> > please delete
> > and otherwise erase it and any attachments from your computer system.
> > Your assistance in correcting this error is appreciated.  Thank you.
> > Cintas Corporation.
> >
> > List info   : http://www.activedir.org/List.aspx
> > List FAQ    : http://www.activedir.org/ListFAQ.aspx
> > List archive:
> > http://www.mail-archive.com/activedir%40mail.activedir.org/
> > List info   : http://www.activedir.org/List.aspx
> > List FAQ    : http://www.activedir.org/ListFAQ.aspx
> > List archive:
> > http://www.mail-archive.com/activedir%40mail.activedir.org/
> >
> List info   : http://www.activedir.org/List.aspx
> List FAQ    : http://www.activedir.org/ListFAQ.aspx
> List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
>
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to