Sync Time with NTP

Mohamed jihad bayali 1,121 Reputation points

Hello Team,

I hope you're doing fine,

A customer wanted to implement an NTP server for his infrastructure and to integrate it with Active directory;

We created an linux ubuntu machine and configure it to sync with external NTP server, we then configured the PDC to sync with that external server, and configured the other DCs to sync with the PDC, now all machines in the domain are syncing with the DCs.

But we noticed something messed up with timezones, we are Based in morocco North africa our Time zone is Casablanca, on the servers and machines when choosing the right time zone and configuring the DST it gives the incorrect time. when i disable the daylight saving time (DST) i have the correct time.

User's image

On my personal laptop (time zone correct), the time zone for casablanca is (UTC +1) and the DST is enabled
User's image

I don't know why on my personal laptop and in the domain machines, the timezones are differents? is it the ntp server who is responsible for detecting the timezones, to know if it's UTC, UTC +1...?

Any idea how to correct it ?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,309 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,002 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. Dave Patrick 426.2K Reputation points MVP

    It shouldn't be the NTP server as all should be based on UTC, the client machines settings dictate any offset for time zone and or DST. You could try using a different source.

    --please don't forget to upvote and Accept as answer if the reply is helpful--