483b06
From 08c5150d76971ab17eb02ceef0e65e993b7732ff Mon Sep 17 00:00:00 2001
483b06
From: Stanislav Laznicka <slaznick@redhat.com>
483b06
Date: Fri, 21 Apr 2017 09:39:56 +0200
483b06
Subject: [PATCH] compat: ignore cn=topology,cn=ipa,cn=etc subtree
483b06
483b06
The entries in cn=topology,cn=ipa,cn=etc should not be taken in
483b06
account for the compat plugin.
483b06
483b06
https://pagure.io/freeipa/issue/6821
483b06
483b06
Reviewed-By: Martin Basti <mbasti@redhat.com>
483b06
---
483b06
 install/updates/80-schema_compat.update | 5 +++++
483b06
 1 file changed, 5 insertions(+)
483b06
483b06
diff --git a/install/updates/80-schema_compat.update b/install/updates/80-schema_compat.update
483b06
index 06cbcab8ad809d95a907c161044ff91df827ebf3..7483518134aad47195ab136626acb5130c0d536d 100644
483b06
--- a/install/updates/80-schema_compat.update
483b06
+++ b/install/updates/80-schema_compat.update
483b06
@@ -152,6 +152,7 @@ remove: schema-compat-ignore-subtree: o=ipaca
483b06
 add: schema-compat-restrict-subtree: $SUFFIX
483b06
 add: schema-compat-restrict-subtree: cn=Schema Compatibility,cn=plugins,cn=config
483b06
 add: schema-compat-ignore-subtree: cn=dna,cn=ipa,cn=etc,$SUFFIX
483b06
+add: schema-compat-ignore-subtree: cn=topology,cn=ipa,cn=etc,$SUFFIX
483b06
 
483b06
 # Change padding for host and userCategory so the pad returns the same value
483b06
 # as the original, '' or -.
483b06
@@ -162,6 +163,7 @@ remove: schema-compat-ignore-subtree: o=ipaca
483b06
 add: schema-compat-restrict-subtree: $SUFFIX
483b06
 add: schema-compat-restrict-subtree: cn=Schema Compatibility,cn=plugins,cn=config
483b06
 add: schema-compat-ignore-subtree: cn=dna,cn=ipa,cn=etc,$SUFFIX
483b06
+add: schema-compat-ignore-subtree: cn=topology,cn=ipa,cn=etc,$SUFFIX
483b06
 
483b06
 dn: cn=computers, cn=Schema Compatibility, cn=plugins, cn=config
483b06
 default:objectClass: top
483b06
@@ -181,6 +183,7 @@ remove: schema-compat-ignore-subtree: o=ipaca
483b06
 add: schema-compat-restrict-subtree: $SUFFIX
483b06
 add: schema-compat-restrict-subtree: cn=Schema Compatibility,cn=plugins,cn=config
483b06
 add: schema-compat-ignore-subtree: cn=dna,cn=ipa,cn=etc,$SUFFIX
483b06
+add: schema-compat-ignore-subtree: cn=topology,cn=ipa,cn=etc,$SUFFIX
483b06
 
483b06
 dn: cn=sudoers,cn=Schema Compatibility,cn=plugins,cn=config
483b06
 add:schema-compat-entry-attribute: sudoOrder=%{sudoOrder}
483b06
@@ -191,6 +194,7 @@ remove: schema-compat-ignore-subtree: o=ipaca
483b06
 add: schema-compat-restrict-subtree: $SUFFIX
483b06
 add: schema-compat-restrict-subtree: cn=Schema Compatibility,cn=plugins,cn=config
483b06
 add: schema-compat-ignore-subtree: cn=dna,cn=ipa,cn=etc,$SUFFIX
483b06
+add: schema-compat-ignore-subtree: cn=topology,cn=ipa,cn=etc,$SUFFIX
483b06
 
483b06
 dn: cn=groups,cn=Schema Compatibility,cn=plugins,cn=config
483b06
 remove: schema-compat-ignore-subtree: cn=changelog
483b06
@@ -198,6 +202,7 @@ remove: schema-compat-ignore-subtree: o=ipaca
483b06
 add: schema-compat-restrict-subtree: $SUFFIX
483b06
 add: schema-compat-restrict-subtree: cn=Schema Compatibility,cn=plugins,cn=config
483b06
 add: schema-compat-ignore-subtree: cn=dna,cn=ipa,cn=etc,$SUFFIX
483b06
+add: schema-compat-ignore-subtree: cn=topology,cn=ipa,cn=etc,$SUFFIX
483b06
 
483b06
 dn: cn=Schema Compatibility,cn=plugins,cn=config
483b06
 # We need to run schema-compat pre-bind callback before
483b06
-- 
483b06
2.12.2
483b06