Felipe_G0NZÁLEZ_SANTIAG0
2018-Oct-31 13:50 UTC
[Samba] problem with time sync on windows 10 clients
I guess your DC take the time from an external ntps server. But I want to serve time from the same DC, so this is my ntp config: #nano /etc/ntp.conf server 127.127.1.0 fudge 127.127.1.0 stratum 12 ntpsigndsocket /var/lib/samba/ntp_signd/restrict default mssntp ___________________________________________ Felipe_ González_Santiago KNOW THAT EVERYTHING WILL HAPPEN AT JUST THE RIGHT TIME, AT JUST THE RIGHT PLACE, WITH JUST THE RIGHT PEOPLE ----- Original Message ----- | Hi, | on my Samba Server i use this config for the ntpd: | server 127.127.1.0 | fudge 127.127.1.0 stratum 10 | server 0.gentoo.pool.ntp.org iburst prefer | server 1.gentoo.pool.ntp.org iburst prefer | server 2.gentoo.pool.ntp.org iburst prefer | server 3.gentoo.pool.ntp.org iburst prefer | driftfile /var/lib/ntp/ntp.drift | logfile /var/log/ntp | ntpsigndsocket /var/lib/samba/ntp_signd/ | restrict default kod nomodify notrap nopeer mssntp | restrict 127.0.0.1 | restrict [::1] | restrict 192.168.0.0 mask 255.255.255.0 nomodify nopeer notrap | restrict 0.gentoo.pool.ntp.org mask 255.255.255.255 nomodify notrap | nopeer noquery | restrict 1.gentoo.pool.ntp.org mask 255.255.255.255 nomodify notrap | nopeer noquery | restrict 2.gentoo.pool.ntp.org mask 255.255.255.255 nomodify notrap | nopeer noquery | restrict 3 gentoo.pool.ntp.org mask 255.255.255.255 nomodify notrap | nopeer noquery | tinker panic 0 | Am 31.10.18 um 14:16 schrieb Felipe_G0NZÁLEZ_SANTIAG0 via samba: | > | My DC is a samba4.3 over Ubuntu 16.04. | > | I've configured ntp in the same server. | > | However > when I join a windows 10 client to my domain, this one doesn't | > | update its datetime. | > | Once I logging in, I am able to set any datetime. | > | And more > No matter the windows 10 client' s datetime, I can logging in | > | with | > | any user of the Active Directory. | > | > | I need a proper time sync in my whole domain. Any idea why it is not | > | working? | > | > | Thanks in advance, | > | Felipe. | > | Mit freundlichen Grüßen, | René Fuchs | -- | *********************************************** | aixtema GmbH | René Fuchs | Philipsstr. 8, 52068 Aachen, Germany | Tel.: +49 241 70515-1323, Fax: +49 241 70515-15 | mailto:r.fuchs at aixtema.de | WWW: http://www.aixtema.de | Shop: http://shop.aixtema.de | Geschaeftsfuehrer: Oliver Rossbruch | HRB 8201, Amtsgericht Aachen | USt.-Id-Nr. DE 210 906 744 | St.-Nr. 201/5942/3737, Finanzamt Aachen Stadt | *********************************************** | -- | To unsubscribe from this list go to the following URL and read the | instructions: https://lists.samba.org/mailman/options/samba
On Wed, 31 Oct 2018 09:50:52 -0400 (CDT) Felipe_G0NZÁLEZ_SANTIAG0 via samba <samba at lists.samba.org> wrote:> I guess your DC take the time from an external ntps server. But I > want to serve time from the same DC, so this is my ntp config: > > #nano /etc/ntp.conf > server 127.127.1.0 > fudge 127.127.1.0 stratum 12 > ntpsigndsocket /var/lib/samba/ntp_signd/restrict default mssntp >Yes, but how does your DC get its time set ???? Rowland
Felipe_G0NZÁLEZ_SANTIAG0
2018-Oct-31 14:10 UTC
[Samba] problem with time sync on windows 10 clients
Is mandatory that my DC gets its time from an external ntp server? Is possible that my DC serve the time from itself, I mean, without getting its time from another server but from its own HW clock, like localhost? That´s what I am trying to do.. So, rigth now my DC isn´t getting the time from any server, ´cause it is the ntp server in my forest. Am I rigth? ___________________________________________ Felipe_ González_Santiago KNOW THAT EVERYTHING WILL HAPPEN AT JUST THE RIGHT TIME, AT JUST THE RIGHT PLACE, WITH JUST THE RIGHT PEOPLE ----- Original Message ----- | On Wed, 31 Oct 2018 09:50:52 -0400 (CDT) | Felipe_G0NZÁLEZ_SANTIAG0 via samba <samba at lists.samba.org> wrote: | > I guess your DC take the time from an external ntps server. But I | > want to serve time from the same DC, so this is my ntp config: | > | > #nano /etc/ntp.conf | > server 127.127.1.0 | > fudge 127.127.1.0 stratum 12 | > ntpsigndsocket /var/lib/samba/ntp_signd/restrict default mssntp | > | Yes, but how does your DC get its time set ???? | Rowland | -- | To unsubscribe from this list go to the following URL and read the | instructions: https://lists.samba.org/mailman/options/samba
L.P.H. van Belle
2018-Oct-31 14:37 UTC
[Samba] problem with time sync on windows 10 clients
Hai,> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Felipe_G0NZÁLEZ_SANTIAG0 via samba > Verzonden: woensdag 31 oktober 2018 15:10 > Aan: Rowland Penny > CC: samba at lists.samba.org > Onderwerp: Re: [Samba] problem with time sync on windows 10 clients > > Is mandatory that my DC gets its time from an external ntp server?No. But its really better to setup that up.> Is possible that my DC serve the time from itself, I mean, without getting its time from another server but from its own HW clock, like localhost?Yes, but you HW clock is not really correct time, HW clocks in the mainboard are not that good. If you have 2 DC's. then you pc's can have 2 times, depending the the server they choose. But you could use something like this: https://www.satsignal.eu/ntp/Raspberry-Pi-NTP.html More options then only the pi, some good example for good time server setups. ( but read the wiki page below first )> That´s what I am trying to do.. So, rigth now my DC isn´t getting the time from any server, ´cause it is the ntp server in my forest. > > Am I rigth?No, the members are getting time throug the AD or you need to setup the clients to use NTP server. I suggest reading, because its all there what you want to know. https://wiki.samba.org/index.php/Time_Synchronisation Reading it helps you understanding it. Greetz, Louis