Domain Controller As Ntp Server For Linux
If your windows server 2016 machine is a vm inside hyper v you have to disable time sync.
Domain controller as ntp server for linux. Multiple ntp servers must be space delimited for example 131 107 13 100 0x8 24 56 178 140 0x8 open an administrative command prompt and execute the following command. With the help of samba it is possible to set up your linux server as a domain controller. Hkey local machine system currentcontrolset services w32time parameters type in the pane on the right right click type and then select modify. Using the network time protocol will ensure that precise time syncs exist on your linux and windows server crucial if you want your linux machine to connect to a windows domain.
I figure there must be a command in linux that will query an ntp server and see if it is. The pdc emulator of a domain should synchronize with any domain controller of the parent domain. I need to confirm that a domain controller is acting as a ntp time server for non windows devices and servers. It encourages upgrades of the dc to.
Before you get too excited i m not talking about an active directory primary domain controller pdc. In our example the restrict 192 168 198 0 mask 255 255 255 0 nomodify notrap line will allow clients from the 192 168 198 0 192 168 198 255 subnet to query our ntp server. In edit value type ntp in the value data box and then select ok. For anything but the smallest organisations having more than one dc is a really good backup measure and makes upgrades safer.
Locate and then click the following registry subkey. Next you need to configure your ntp clients to use your ntp server for time synchronization. Modify the ntpserver value to contain the ntp server to synchronize time with followed by 0x8 for example 131 107 13 100 0x8. The pdc emulator of the root domain in a forest should synchronize with an external time server which could be a router another standalone server an internet time server etc.
Next restart the ntp deamon with the sudo service ntp reload command.