I have installed samba AD in centos 7, but I have an inconvenience to
synchronize my clients with the NTP service, the status is in failed, it
has to do with the socket. What permissions should be assigned?
[root @ adsserver ~] # systemctl status ntpd
● ntpd.service - Servicio de hora de red
Cargado: cargado (/usr/lib/systemd/system/ntpd.service; habilitado;
proveedor preestablecido: deshabilitado)
Activo: activo (en ejecución) desde el mié 2018-07-25 23:53:43 -05; Hace
53 años
Proceso: 468 ExecStart = / usr / sbin / ntpd -u ntp: ntp $ OPTIONS
(código = exit, status = 0 / SUCCESS)
PID principal: 472 (ntpd)
CGroup: /system.slice/ntpd.service
├─472 / usr / sbin / ntpd -u ntp: ntp -g
└─474 / usr / sbin / ntpd -u ntp: ntp -g
25 de julio 23:54:24 adsserver.soporte.local ntpd [472]: nueva (s) interfaz
(s) encontrada (s): despertando el resolver
jul 25 23:54:30 adsserver.soporte.local ntpd_intres [474]: DNS
0.pool.ntp.org -> 190.15.128.72
jul 25 23:54:30 adsserver.soporte.local ntpd [472]: process_private: failed
auth mod_okay 0
jul 25 23:54:30 adsserver.soporte.local ntpd_intres [474]:
ntp_intres.request: permiso denegado
jul 25 23:54:30 adsserver.soporte.local ntpd_intres [474]: DNS
1.pool.ntp.org -> 54.233.172.242
jul 25 23:54:30 adsserver.soporte.local ntpd [472]: process_private: failed
auth mod_okay 0
jul 25 23:54:30 adsserver.soporte.local ntpd_intres [474]:
ntp_intres.request: permiso denegado
jul 25 23:54:31 adsserver.soporte.local ntpd_intres [474]: DNS
2.pool.ntp.org -> 52.67.171.238
jul 25 23:54:31 adsserver.soporte.local ntpd [472]: process_private: failed
auth mod_okay 0
jul 25 23:54:31 adsserver.soporte.local ntpd_intres [474]:
ntp_intres.request: permiso denegado
On Thu, 26 Jul 2018 10:47:34 -0500 Ivan Rojas via samba <samba at lists.samba.org> wrote:> I have installed samba AD in centos 7, but I have an inconvenience to > synchronize my clients with the NTP service, the status is in failed, > it has to do with the socket. What permissions should be assigned? >Ah, that's better, I can understand it now ;-) Are you sure it is a permissions problem ? Is another time server already running ? Where did you get the Samba packages from that allow you to create an AD DC on Centos 7, by default this isn't possible (yet), or have you compiled Samba yourself ? On debian: ls -lad /usr/local/samba/var/lib/ntp_signd drwxr-s--- 2 root staff 4096 Jun 14 08:51 /usr/local/samba/var/lib/ntp_signd Rowland