instantlinux / docker-tools

Docker tools for developer productivity & entertainment
Apache License 2.0
272 stars 89 forks source link

Samba-AD-DC | No NTP/Windows Time provider #69

Open carev001 opened 3 years ago

carev001 commented 3 years ago

I noticed the image currently does not provide NTP/Windows Time to domain-joined hosts. Any chance to incorporate that into the image?

thorus90 commented 2 years ago

I did run into the exact same issue, and was not able to fix it for myself, because you have two ways to provide NTP support for samba as DC:

The ntp server is not part of alpine (only openntpd which does not work). chrony is not compiled with the feature in alpine.

Any insight in how to incooperate this? Because right now all my windows machine don't have ntp syncing, because it requires signed NTP communication.

thorus90 commented 2 years ago

I got it to run, my initial problem was with the one windows client I tested it, all the other clients work just fine for about a week now. I tried to create a merge request. As it is my first merge request on github ever I don't know if I did everything correctly, feel free to correct it if need be. https://github.com/instantlinux/docker-tools/pull/87 EDIT: In Debian the version of git and openssh is too old in order to sign commits, sorry for spamming your mailbox EDIT: I was able to sign my commit after all https://github.com/instantlinux/docker-tools/pull/89