Hello,
Adott egy gépteremnyi XP-s gép meg egy 3.6-os Samba (Ne kérdezzétek miért van ez :() Gépek domain-be léptetve roaming profillal, limitált jogokkal bíró userrel.
Valamiért nem tudom összehozni, hogy a kliensek vagy a DC-vel vagy valami ntp szerverrel szinkronizálják az idejüket. Samba config-ba time server = yes be van állítva. A klienseken pedig hiába állítok mondjuk ntp szervert, nem akar szinkronizálni sehogy sem.
Pl. erre is azt mondja hogy The computer did not resync because no time data was available.
w32tm /config /manualpeerlist:hu.pool.ntp.org /syncfromflags:manual /update
Köszönöm!
- 897 megtekintés
Hozzászólások
Ezt kiadva:
NET TIME //SERVER /SET /YES
mit mond a kliens?
- A hozzászóláshoz be kell jelentkezni
5. access denied
- A hozzászóláshoz be kell jelentkezni
Ntp portja nyitva van a tuzfalakon (szereren es xp-n)?
- A hozzászóláshoz be kell jelentkezni
Igen.
- A hozzászóláshoz be kell jelentkezni
Tehetsz nyugodtan rendes NTP-szervert, azt tudod tesztelni Linuxból, vagy akárhonnan, és szinkronizálj ahhoz.
- A hozzászóláshoz be kell jelentkezni
file:///usr/share/doc/ntp-doc/html/accopt.html
mssntp
Enable Microsoft Windows MS-SNTP authentication using Active Directory services. Note: Potential users should be aware that these services involve a TCP connection to another process that could potentially block, denying services to other users. Therefore, this flag should be used only for a dedicated server with no clients other than MS-SNTP.
és
file:///usr/share/doc/ntp-doc/html/authentic.html
Microsoft Windows Authentication
In addition to the above means, ntpd now supports Microsoft Windows MS-SNTP authentication using Active Directory services. This support was contributed by the Samba Team and is still in development. It is enabled using the mssntp flag of the restrict command described on the Access Control Options page. Note: Potential users should be aware that these services involve a TCP connection to another process that could potentially block, denying services to other users. Therefore, this flag should be used only for a dedicated server with no clients other than MS-SNTP.
És utána:
https://wiki.samba.org/index.php/Time_Synchronisation
- A hozzászóláshoz be kell jelentkezni
Ha nem jön be semmi vagy pl az RTC is beteg, akkor én ezt használom (XP-től Win10-ig próbáltam már):
http://www.timesynctool.com/
Csak kliensként is működik, szolgáltatásként, hogy már bejelentkezés előtt is frissítsen. Be lehet állítani, hogy nagy időkülönbség esetén is szinkronizáljon. Ha blokkolva van az internet, helyi NTP szervert is beállíthatsz.
- A hozzászóláshoz be kell jelentkezni
Ez lesz a nyerő, úgy gondolom. Köszönöm a tippet. (Az RTC-vel több gépen is probléma van, nem győzöm az elemeket cserélni.)
- A hozzászóláshoz be kell jelentkezni
Anno ezt találtam:
@echo on & @setlocal enableextensions
@echo =========================
@echo Turn off the time service
net stop w32time
@echo ======================================================================
@echo Set the SNTP (Simple Network Time Protocol) source for the time server
w32tm /config /syncfromflags:manual /manualpeerlist:"host1 host2 host3 host4"
@echo =============================================
@echo ... and then turn on the time service back on
net start w32time
@echo =============================================
@echo Tell the time sync service to use the changes
w32tm /config /update
@echo =======================================================
@echo Reset the local computer's time against the time server
sc config w32time start=delayed-auto
w32tm /resync /rediscover
@endlocal & @goto :EOF
- A hozzászóláshoz be kell jelentkezni