summaryrefslogtreecommitdiffstats
path: root/install/updates/20-replication.update
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2015-07-31 16:22:13 +0200
committerSimo Sorce <simo@redhat.com>2015-10-01 16:20:49 -0400
commit5cf1676c4f90fb469b0518c9f250541dd13218d9 (patch)
tree6d2f2e6bc0b5911e32815683a855844d1a8c751e /install/updates/20-replication.update
parentd23e817d5ff797a8c19bba8a393f77b3ff544f31 (diff)
downloadfreeipa-5cf1676c4f90fb469b0518c9f250541dd13218d9.tar.gz
freeipa-5cf1676c4f90fb469b0518c9f250541dd13218d9.tar.xz
freeipa-5cf1676c4f90fb469b0518c9f250541dd13218d9.zip
enable topology plugin on upgrade
Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'install/updates/20-replication.update')
-rw-r--r--install/updates/20-replication.update25
1 files changed, 25 insertions, 0 deletions
diff --git a/install/updates/20-replication.update b/install/updates/20-replication.update
index 43f4edc0d..009378aee 100644
--- a/install/updates/20-replication.update
+++ b/install/updates/20-replication.update
@@ -27,12 +27,37 @@ default: objectclass: top
default: objectclass: iparepltopoconf
default: ipaReplTopoConfRoot: $SUFFIX
default: cn: realm
+add: nsDS5ReplicatedAttributeList: $EXCLUDES
+add: nsDS5ReplicatedAttributeListTotal: $TOTAL_EXCLUDES
+add: nsds5ReplicaStripAttrs: $STRIP_ATTRS
# add IPA realm managed suffix to master entry
dn: cn=$FQDN,cn=masters,cn=ipa,cn=etc,$SUFFIX
add: objectclass: ipaReplTopoManagedServer
add: ipaReplTopoManagedSuffix: $SUFFIX
+# Enable Topology Plugin
+dn: cn=IPA Topology Configuration,cn=plugins,cn=config
+default: changetype: add
+default: objectClass: top
+default: objectClass: nsSlapdPlugin
+default: objectClass: extensibleObject
+default: cn: IPA Topology Configuration
+default: nsslapd-pluginPath: libtopology
+default: nsslapd-pluginInitfunc: ipa_topo_init
+default: nsslapd-pluginType: object
+default: nsslapd-pluginEnabled: on
+default: nsslapd-topo-plugin-shared-config-base: cn=ipa,cn=etc,$SUFFIX
+default: nsslapd-topo-plugin-shared-replica-root: $SUFFIX
+default: nsslapd-topo-plugin-shared-binddngroup: cn=replication managers,cn=sysaccounts,cn=etc,$SUFFIX
+default: nsslapd-topo-plugin-startup-delay: 20
+default: nsslapd-pluginId: none
+default: nsslapd-plugin-depends-on-named: ldbm database
+default: nsslapd-plugin-depends-on-named: Multimaster Replication Plugin
+default: nsslapd-pluginVersion: 1.0
+default: nsslapd-pluginVendor: none
+default: nsslapd-pluginDescription: none
+
# Set replication changelog limit (#5086)
dn: cn=changelog5,cn=config
addifnew: nsslapd-changelogmaxage: 7d