[Linuxtrent] Re: [Sincronizzare orologio.....]

  • From: Giosuè Pacifico <giosue.pacifico@xxxxxxxxxxxxx>
  • To: linuxtrent@xxxxxxxxxxxxx
  • Date: Mon, 11 Nov 2002 23:52:41 +0100

At 15.11 11/11/2002, you wrote:

Salve,
questo è l'output dei comandi da te indicati se girati su un W2KPro:
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
Y:\>net time /setsntp:ntp1.ien.it
The command completed successfully.

Y:\>net time /set
Could not locate a time-server.
More help is available by typing NET HELPMSG 3912.

Ok, estratto da "Microsoft Knowledge Base Article - 243574"

"This error message can occur even if you set a valid Simple Network Time
Protocol (SNTP) time server using the net time /setsntp command and network
connectivity to the external time server exists. Windows servers that are not
domain controllers and Windows-based computers attempt to locate a domain
controller to synchronize the network time. Domain controllers attempt to
contact the domain controller that holds the primary domain controller (PDC)
Flexible Single Master Operation (FSMO) role. Only the domain controller that
holds the PDC FSMO role can query an external time source to set the time."

Ricapitolando, la gerarchia di sincronizzazione è
la seguente:

client-->DC-->PDC(FSMO)

Se w2kPro è in un dominio con ActiveDirectory si sincronizza
con il DC del suo sito (type=NT5DS). Sembrerebbe impossibile
sincronizzare un client del dominio con una source esterna.
Quindi o setti "LocalNTP" il PDC emulator o usi una macchina extra-dominio.
Per controllare l'aggiornamento da un srv NTP esterno (sempre che sia raggiungibile)
prova


net stop w32time
w32tm -once
net start w32time

l'output di w32tm dovrebbe contenere, in caso di successo,

"W32Time: Recv'ed from server 68 Bytes..."

Ciao
Giosuè Pacifico













--
Per iscriversi  (o disiscriversi), basta spedire un  messaggio con SOGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


Other related posts: