I am having trouble with ntpd on my IPA server. For whatever reason, chrony seems to work when I manually stop ntpd.
I would like to remove ntpd as an IPA-managed service. I found an old thread on this list that says I need to remove:
cn=NTP,cn=ipa.example.com,cn=masters,cn=ipa,cn=etc,dc=example,dc=com
Assuming that this is correct, how do I do that?
Ian Pilcher via FreeIPA-users wrote:
I am having trouble with ntpd on my IPA server. For whatever reason, chrony seems to work when I manually stop ntpd.
I would like to remove ntpd as an IPA-managed service. I found an old thread on this list that says I need to remove:
cn=NTP,cn=ipa.example.com,cn=masters,cn=ipa,cn=etc,dc=example,dc=com
Assuming that this is correct, how do I do that?
It is correct.
$ kinit admin $ ldapdelete -Y GSSAPI cn=NTP,cn=ipa.example.com,cn=masters,cn=ipa,cn=etc,dc=example,dc=com
rob
On 11/1/18 3:48 PM, Rob Crittenden wrote:
It is correct.
$ kinit admin $ ldapdelete -Y GSSAPI cn=NTP,cn=ipa.example.com,cn=masters,cn=ipa,cn=etc,dc=example,dc=com
For posterity's sake:
$ kinit admin
$ # There's almost certainly a better way to do this, but ... $ ldapsearch -Y GSSAPI | grep NTP
$ # Use DN from previous command $ ldapdelete -Y GSSAPI cn=NTP,cn=your.host.name,cn=masters,cn=ipa,cn=etc,dc=host,dc=name
Thanks!
freeipa-users@lists.fedorahosted.org