Location: List Archives

List Archives

This forum is an archive of all posts to our mailing list over the past few years.  The forum is set read only therefore to contribute you will need to join our list community.  See more info about this here.

List Archives

Subject: [ActiveDir] NET TIME command
Prev Next
You are not authorized to post a reply.

AuthorMessages
DWyatt@xxxx.yyy

05/24/2006 4:19 AM  
Seem to have an odd
issue when using the net time command...

Scenario:
Windows 2003 FFL,
single domain, single forest
Hub/spoke site
topology, London hub, other offices spokes
I have logged onto a
Windows 2000 Pro desktop (that is joined to domain) in the hub site.  Open
command prompt and type net time.  After a pause I get the following:

Current time at \\SPOKE DC is 5/24/2006 5:11
PM
The command completed successfully.

If I run the
command net time /domain:DOMAINNAME I get:


Current time at \\HUB DC is 5/24/2006 5:12 PM
The command completed successfully.


Why is the first command getting a reply
from a spoke DC and not the hub DC?  Is this expected?


Regards
-David



****************************************************************************
This message contains confidential information and is intended only
for the individual or entity named. If you are not the named addressee
you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed, arrive
late or incomplete, or contain viruses. The sender therefore does not
accept liability for any errors or omissions in the contents of this
message which arise as a result of e-mail transmission.
If verification is required please request a hard-copy version.
This message is provided for informational purposes and should not
be construed as an invitation or offer to buy or sell any securities or
related financial instruments.
GAM operates in many jurisdictions and is
regulated or licensed in those jurisdictions as required.
****************************************************************************
rwf4User is Offline

Posts:10

05/24/2006 5:17 AM  
Net Time is using the Browser Service to
determine the timesource in the scenarios you outline so all the foibles of the
Browser mechanisms come into play.

You would be much better served to use w32tm to
troubleshoot time issues in an AD environment.

IIRC, what you are seeing in the first example is the first
system to answer that is advertising the TS flag and the second is your DMB
(Domain Master Browser) 

That's based on old recollection since I stoped trying
to deal with browser issues a long time ago :-)

If you checked them with browstat, I bet the browser flags
for them look like this-

\\SpokeDC      NT  
05.02 (W,S,BDC,TS,NT,BBR,DFS)\\HubDC       
NT   05.02
(W,S,PDC,TS,NT,MBR,DFS)


From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Wyatt,
DavidSent: Wednesday, May 24, 2006 9:20 AMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: [ActiveDir] NET TIME
command

Seem to have an odd
issue when using the net time command...

Scenario:
Windows 2003 FFL,
single domain, single forest
Hub/spoke site
topology, London hub, other offices spokes
I have logged onto a
Windows 2000 Pro desktop (that is joined to domain) in the hub site.  Open
command prompt and type net time.  After a pause I get the following:

Current time at \\SPOKE DC is 5/24/2006 5:11
PM
The command completed successfully.

If I run the
command net time /domain:DOMAINNAME I get:


Current time at \\HUB DC is 5/24/2006 5:12
PM
The command completed successfully.


Why is the first command getting a reply
from a spoke DC and not the hub DC?  Is this expected?


Regards
-David

 ****************************************************************************This
message contains confidential information and is intended only for the
individual or entity named. If you are not the named addresseeyou should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and delete
this e-mail from your system.E-mail transmission cannot be guaranteed to be
secure or error-freeas information could be intercepted, corrupted, lost,
destroyed, arrivelate or incomplete, or contain viruses. The sender
therefore does notaccept liability for any errors or omissions in the
contents of this message which arise as a result of e-mail transmission.
If verification is required please request a hard-copy version.This
message is provided for informational purposes and should notbe construed as
an invitation or offer to buy or sell any securities orrelated financial
instruments.GAM operates in many jurisdictions and is regulated or
licensed in those jurisdictions as
required.****************************************************************************
rwf4User is Offline

Posts:10

05/24/2006 5:28 AM  
Actually looking at my message in hindsight I think the
/Domain arg is returning the PDC flag..am I talking to myself again ?
:-]
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Free,
BobSent: Wednesday, May 24, 2006 10:17 AMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: RE: [ActiveDir] NET TIME
command

Net Time is using the Browser Service to
determine the timesource in the scenarios you outline so all the foibles of the
Browser mechanisms come into play.

You would be much better served to use w32tm to
troubleshoot time issues in an AD environment.

IIRC, what you are seeing in the first example is the first
system to answer that is advertising the TS flag and the second is your DMB
(Domain Master Browser) 

That's based on old recollection since I stoped trying
to deal with browser issues a long time ago :-)

If you checked them with browstat, I bet the browser flags
for them look like this-

\\SpokeDC      NT  
05.02 (W,S,BDC,TS,NT,BBR,DFS)\\HubDC       
NT   05.02
(W,S,PDC,TS,NT,MBR,DFS)


From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Wyatt,
DavidSent: Wednesday, May 24, 2006 9:20 AMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: [ActiveDir] NET TIME
command

Seem to have an odd
issue when using the net time command...

Scenario:
Windows 2003 FFL,
single domain, single forest
Hub/spoke site
topology, London hub, other offices spokes
I have logged onto a
Windows 2000 Pro desktop (that is joined to domain) in the hub site.  Open
command prompt and type net time.  After a pause I get the following:

Current time at \\SPOKE DC is 5/24/2006 5:11
PM
The command completed successfully.

If I run the
command net time /domain:DOMAINNAME I get:


Current time at \\HUB DC is 5/24/2006 5:12
PM
The command completed successfully.


Why is the first command getting a reply
from a spoke DC and not the hub DC?  Is this expected?


Regards
-David

 ****************************************************************************This
message contains confidential information and is intended only for the
individual or entity named. If you are not the named addresseeyou should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and delete
this e-mail from your system.E-mail transmission cannot be guaranteed to be
secure or error-freeas information could be intercepted, corrupted, lost,
destroyed, arrivelate or incomplete, or contain viruses. The sender
therefore does notaccept liability for any errors or omissions in the
contents of this message which arise as a result of e-mail transmission.
If verification is required please request a hard-copy version.This
message is provided for informational purposes and should notbe construed as
an invitation or offer to buy or sell any securities orrelated financial
instruments.GAM operates in many jurisdictions and is regulated or
licensed in those jurisdictions as
required.****************************************************************************
rwf4User is Offline

Posts:10

05/25/2006 6:24 AM  
Net Time uses the old NetRemoteTOD API, so you're talking LANMAN APIs &
NetBIOS name resolution stuff here, I have some old notesΏ] on
NetRemoteTOD but much of it seems to have disappeared from MSDN.

Ώ] For computers not running the time service, when they issue a NET
TIME command without any parameters the clients issue a NetServerEnum to
enumerate the servers from the browse list (yuk) with the TS (timesource
) flag. E.G.- When you run NET TIME without the /domain option, the
workstation will iterate through the list of time sources in the browse
list, and contact the first one encountered.

Since NBNR is dependent on the protocols installed, client node-type
etc I'd just be guessing how you are resolving with out a sniffer
traceΐ].

I'd have to ask again why you are using net time in a 2K3 environment
unless it's just an intellectual exercise, if that's the case see ΐ]
:-]

________________________________

From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Wyatt, David
Sent: Thursday, May 25, 2006 3:11 AM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: RE: [ActiveDir] NET TIME command
OK, so are we saying that WINS (yes, we have a WINS infrastructure) is
returning the SPOKEDC (maybe alphabetically too???)


-----Original Message-----
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Free, Bob
Sent: 24 May 2006 18:17
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: RE: [ActiveDir] NET TIME command


Net Time is using the Browser Service to determine the
timesource in the scenarios you outline so all the foibles of the
Browser mechanisms come into play.

You would be much better served to use w32tm to troubleshoot
time issues in an AD environment.

IIRC, what you are seeing in the first example is the first
system to answer that is advertising the TS flag and the second is your
DMB (Domain Master Browser)

That's based on old recollection since I stoped trying to deal
with browser issues a long time ago :-)

If you checked them with browstat, I bet the browser flags for
them look like this-

\\SpokeDC NT 05.02
(W,S,BDC,TS,NT,BBR,DFS)
\\HubDC NT 05.02
(W,S,PDC,TS,NT,MBR,DFS)



________________________________

From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Wyatt, David
Sent: Wednesday, May 24, 2006 9:20 AM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: [ActiveDir] NET TIME command


Seem to have an odd issue when using the net time command...

Scenario:

* Windows 2003 FFL, single domain, single forest
* Hub/spoke site topology, London hub, other offices
spokes

I have logged onto a Windows 2000 Pro desktop (that is joined to
domain) in the hub site. Open command prompt and type net time. After
a pause I get the following:

Current time at \\SPOKE DC is 5/24/2006
5:11 PM
The command completed successfully.

If I run the command net time /domain:DOMAINNAME I get:

Current time at \\HUB DC is 5/24/2006
5:12 PM
The command completed successfully.


Why is the first command getting a reply from a spoke DC and not
the hub DC? Is this expected?


Regards
-David





************************************************************************
****
This message contains confidential information and is intended
only
for the individual or entity named. If you are not the named
addressee
you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have
received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive
late or incomplete, or contain viruses. The sender therefore
does not
accept liability for any errors or omissions in the contents of
this
message which arise as a result of e-mail transmission.
If verification is required please request a hard-copy version.
This message is provided for informational purposes and should
not
be construed as an invitation or offer to buy or sell any
securities or
related financial instruments.
GAM operates in many jurisdictions and is
regulated or licensed in those jurisdictions as required.

************************************************************************
****


List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ml/threads.aspx
AD00000804User is Offline

Posts:0

05/25/2006 8:35 AM  
Be sure you have setup net time on the PDC Emulator server role as a
starting point.  Ideally you should point to the IP addresses of the US
Naval Observatory time servers off the Internet.

Regards,

Chuck
DWyatt@xxxx.yyy

05/25/2006 10:10 AM  
OK, so
are we saying that WINS (yes, we have a WINS infrastructure) is returning
the SPOKEDC (maybe alphabetically too???)



-----Original Message-----From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of Free, BobSent: 24 May 2006 18:17To:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: RE: [ActiveDir] NET TIME
command
Net Time is using the Browser Service to
determine the timesource in the scenarios you outline so all the foibles of
the Browser mechanisms come into play.

You would be much better served to use w32tm to
troubleshoot time issues in an AD environment.

IIRC, what you are seeing in the first example is the
first system to answer that is advertising the TS flag and the second is
your DMB (Domain Master Browser) 

That's based on old recollection since I stoped
trying to deal with browser issues a long time ago :-)

If you checked them with browstat, I bet the browser
flags for them look like this-

\\SpokeDC      NT  
05.02 (W,S,BDC,TS,NT,BBR,DFS)\\HubDC       
NT   05.02
(W,S,PDC,TS,NT,MBR,DFS)




From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Wyatt,
DavidSent: Wednesday, May 24, 2006 9:20 AMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: [ActiveDir] NET TIME
command

Seem to have an
odd issue when using the net time command...

Scenario:

Windows 2003 FFL,
single domain, single forest
Hub/spoke site
topology, London hub, other offices spokes
I have logged onto
a Windows 2000 Pro desktop (that is joined to domain) in the hub site. 
Open command prompt and type net time.  After a pause I get the
following:

Current time at \\SPOKE DC is 5/24/2006 5:11
PM
The command completed successfully.

If I run the
command net time /domain:DOMAINNAME I get:


Current time at \\HUB DC is 5/24/2006 5:12
PM
The command completed successfully.


Why is the first command getting a reply
from a spoke DC and not the hub DC?  Is this expected?


Regards
-David

 ****************************************************************************This
message contains confidential information and is intended only for the
individual or entity named. If you are not the named addresseeyou should
not disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system.E-mail transmission cannot be
guaranteed to be secure or error-freeas information could be intercepted,
corrupted, lost, destroyed, arrivelate or incomplete, or contain viruses.
The sender therefore does notaccept liability for any errors or omissions
in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy
version.This message is provided for informational purposes and should
notbe construed as an invitation or offer to buy or sell any securities
orrelated financial instruments.GAM operates in many jurisdictions and
is regulated or licensed in those jurisdictions as
required.****************************************************************************
You are not authorized to post a reply.
Forums >ActiveDir Mail List Archive >List Archives > [ActiveDir] NET TIME command



ActiveForums 3.7
AdventNet Banner
Friends

Friends

Namescape
Members

Members

MembershipMembership:
Latest New UserLatest:bebo
New TodayNew Today:0
New YesterdayNew Yesterday:0
User CountOverall:4205

People OnlinePeople Online:
VisitorsVisitors:126
MembersMembers:1
TotalTotal:127

Online NowOnline Now:

Ads

Copyright 2008 ActiveDir.org
Terms Of Use