Configure ipa_dns DS plugin on install and upgrade

The plugin is configured unconditionally (i.e. does not check if
IPA was configured with DNS) as the plugin is needed on all
replicas to prevent objectclass violations due to missing SOA
serial in idnsZone objectclass. The violation could happen if just
one replica configured DNS and added a new zone.

https://fedorahosted.org/freeipa/ticket/3347
This commit is contained in:
Martin Kosek
2013-03-22 14:31:22 +01:00
parent 952a7ac9f5
commit b5b040e68f
4 changed files with 43 additions and 0 deletions
@@ -32,7 +32,13 @@ libipa_dns_la_LIBADD = \
$(LDAP_LIBS) \
$(NULL)
appdir = $(IPA_DATA_DIR)
app_DATA = \
ipa-dns-conf.ldif \
$(NULL)
EXTRA_DIST = \
$(app_DATA) \
$(NULL)
MAINTAINERCLEANFILES = \
@@ -0,0 +1,15 @@
dn: cn=IPA DNS,cn=plugins,cn=config
changetype: add
objectclass: top
objectclass: nsslapdPlugin
objectclass: extensibleObject
cn: IPA DNS
nsslapd-plugindescription: IPA DNS support plugin
nsslapd-pluginenabled: on
nsslapd-pluginid: ipa_dns
nsslapd-plugininitfunc: ipadns_init
nsslapd-pluginpath: libipa_dns.so
nsslapd-plugintype: preoperation
nsslapd-pluginvendor: Red Hat, Inc.
nsslapd-pluginversion: 1.0
nsslapd-plugin-depends-on-type: database