summaryrefslogtreecommitdiffstats
path: root/install/updates/Makefile.am
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2012-09-12 10:00:35 +0200
committerRob Crittenden <rcritten@redhat.com>2012-09-16 17:59:27 -0400
commitc0630950a170cc9c0fa68256ff606589641bc812 (patch)
tree734019961cacc670b5ebed080b9624a5e6299641 /install/updates/Makefile.am
parent2ecfe571faf9291eab7ffacea2a1e94d5be0d689 (diff)
downloadfreeipa-c0630950a170cc9c0fa68256ff606589641bc812.tar.gz
freeipa-c0630950a170cc9c0fa68256ff606589641bc812.tar.xz
freeipa-c0630950a170cc9c0fa68256ff606589641bc812.zip
Expand Referential Integrity checks
Many attributes in IPA (e.g. manager, memberuser, managedby, ...) are used to store DNs of linked objects in IPA (users, hosts, sudo commands, etc.). However, when the linked objects is deleted or renamed, the attribute pointing to it stays with the objects and thus may create a dangling link causing issues in client software reading the data. Directory Server has a plugin to enforce referential integrity (RI) by checking DEL and MODRDN operations and updating affected links. It was already used for manager and secretary attributes and should be expanded for the missing attributes to avoid dangling links. As a prerequisite, all attributes checked for RI must have pres and eq indexes to avoid performance issues. Thus, the following indexes are added: * manager (pres index only) * secretary (pres index only) * memberHost * memberUser * sourcehost * memberservice * managedby * memberallowcmd * memberdenycmd * ipasudorunas * ipasudorunasgroup Referential Integrity plugin is updated to enforce RI for all these attributes. Unit tests covering RI checks for all these attributes were added as well. Note: this update will only fix RI on one master as RI plugin does not check replicated operations. https://fedorahosted.org/freeipa/ticket/2866
Diffstat (limited to 'install/updates/Makefile.am')
-rw-r--r--install/updates/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/install/updates/Makefile.am b/install/updates/Makefile.am
index bc7945d7a..9e0689665 100644
--- a/install/updates/Makefile.am
+++ b/install/updates/Makefile.am
@@ -23,6 +23,7 @@ app_DATA = \
20-winsync_index.update \
21-replicas_container.update \
21-ca_renewal_container.update \
+ 25-referint.update \
30-s4u2proxy.update \
40-delegation.update \
40-dns.update \