summaryrefslogtreecommitdiffstats
path: root/install/updates/40-replication.update
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2012-09-17 17:45:42 +0200
committerMartin Kosek <mkosek@redhat.com>2012-09-17 17:48:25 +0200
commitc9c55a2845fd8471bc609a23f5a32d252f7df04c (patch)
treea7ae157b90ece3bc3829c234d7bd8a2177f0e800 /install/updates/40-replication.update
parentc0630950a170cc9c0fa68256ff606589641bc812 (diff)
downloadfreeipa-c9c55a2845fd8471bc609a23f5a32d252f7df04c.tar.gz
freeipa-c9c55a2845fd8471bc609a23f5a32d252f7df04c.tar.xz
freeipa-c9c55a2845fd8471bc609a23f5a32d252f7df04c.zip
Run the CLEANALLRUV task when deleting a replication agreement.
This adds two new commands to ipa-replica-manage: list-ruv & clean-ruv list-ruv can be use to list the update vectors the master has configugured clean-ruv can be used to fire off the CLEANRUV task to remove a replication vector. It should be used with caution. https://fedorahosted.org/freeipa/ticket/2303
Diffstat (limited to 'install/updates/40-replication.update')
-rw-r--r--install/updates/40-replication.update4
1 files changed, 4 insertions, 0 deletions
diff --git a/install/updates/40-replication.update b/install/updates/40-replication.update
new file mode 100644
index 000000000..f9e0496be
--- /dev/null
+++ b/install/updates/40-replication.update
@@ -0,0 +1,4 @@
+# Let a delegated user put the database into read-only mode when deleting
+# an agreement.
+dn: cn=userRoot,cn=ldbm database,cn=plugins,cn=config
+add:aci: '(targetattr=nsslapd-readonly)(version 3.0; acl "Allow marking the database readonly"; allow (write) groupdn = "ldap:///cn=Remove Replication Agreements,cn=permissions,cn=pbac,$SUFFIX";)'