|
|
0201d8 |
From 7a98d658d662f0cec33ba6207474d8271029b4bd Mon Sep 17 00:00:00 2001
|
|
|
0201d8 |
From: root <root@vm-035.idm.lab.eng.brq.redhat.com>
|
|
|
0201d8 |
Date: Wed, 4 Mar 2015 11:11:45 +0100
|
|
|
0201d8 |
Subject: [PATCH] Limit deadlocks between DS plugin DNA and slapi-nis
|
|
|
0201d8 |
|
|
|
0201d8 |
Deadlock can occur if DNA plugin (shared) config and Schema-compat plugin config
|
|
|
0201d8 |
are updated at the same time.
|
|
|
0201d8 |
Schema-compat should ignore update on DNA config.
|
|
|
0201d8 |
|
|
|
0201d8 |
https://fedorahosted.org/freeipa/ticket/4927
|
|
|
0201d8 |
|
|
|
0201d8 |
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
|
|
|
0201d8 |
---
|
|
|
0201d8 |
install/updates/10-schema_compat.update | 5 +++++
|
|
|
0201d8 |
1 file changed, 5 insertions(+)
|
|
|
0201d8 |
|
|
|
0201d8 |
diff --git a/install/updates/10-schema_compat.update b/install/updates/10-schema_compat.update
|
|
|
0201d8 |
index b8c79012d121116f9cf53908fbe4eeeebe9d3d82..4484bdcce15736eeaffcc99edc694094b16fd0ed 100644
|
|
|
0201d8 |
--- a/install/updates/10-schema_compat.update
|
|
|
0201d8 |
+++ b/install/updates/10-schema_compat.update
|
|
|
0201d8 |
@@ -22,6 +22,7 @@ remove: schema-compat-ignore-subtree: cn=changelog
|
|
|
0201d8 |
remove: schema-compat-ignore-subtree: o=ipaca
|
|
|
0201d8 |
add: schema-compat-restrict-subtree: '$SUFFIX'
|
|
|
0201d8 |
add: schema-compat-restrict-subtree: 'cn=Schema Compatibility,cn=plugins,cn=config'
|
|
|
0201d8 |
+add: schema-compat-ignore-subtree: 'cn=dna,cn=ipa,cn=etc,$SUFFIX'
|
|
|
0201d8 |
|
|
|
0201d8 |
# Change padding for host and userCategory so the pad returns the same value
|
|
|
0201d8 |
# as the original, '' or -.
|
|
|
0201d8 |
@@ -31,6 +32,7 @@ remove: schema-compat-ignore-subtree: cn=changelog
|
|
|
0201d8 |
remove: schema-compat-ignore-subtree: o=ipaca
|
|
|
0201d8 |
add: schema-compat-restrict-subtree: '$SUFFIX'
|
|
|
0201d8 |
add: schema-compat-restrict-subtree: 'cn=Schema Compatibility,cn=plugins,cn=config'
|
|
|
0201d8 |
+add: schema-compat-ignore-subtree: 'cn=dna,cn=ipa,cn=etc,$SUFFIX'
|
|
|
0201d8 |
|
|
|
0201d8 |
dn: cn=computers, cn=Schema Compatibility, cn=plugins, cn=config
|
|
|
0201d8 |
default:objectClass: top
|
|
|
0201d8 |
@@ -49,6 +51,7 @@ remove: schema-compat-ignore-subtree: cn=changelog
|
|
|
0201d8 |
remove: schema-compat-ignore-subtree: o=ipaca
|
|
|
0201d8 |
add: schema-compat-restrict-subtree: '$SUFFIX'
|
|
|
0201d8 |
add: schema-compat-restrict-subtree: 'cn=Schema Compatibility,cn=plugins,cn=config'
|
|
|
0201d8 |
+add: schema-compat-ignore-subtree: 'cn=dna,cn=ipa,cn=etc,$SUFFIX'
|
|
|
0201d8 |
|
|
|
0201d8 |
dn: cn=sudoers,cn=Schema Compatibility,cn=plugins,cn=config
|
|
|
0201d8 |
add:schema-compat-entry-attribute: sudoOrder=%{sudoOrder}
|
|
|
0201d8 |
@@ -58,12 +61,14 @@ remove: schema-compat-ignore-subtree: cn=changelog
|
|
|
0201d8 |
remove: schema-compat-ignore-subtree: o=ipaca
|
|
|
0201d8 |
add: schema-compat-restrict-subtree: '$SUFFIX'
|
|
|
0201d8 |
add: schema-compat-restrict-subtree: 'cn=Schema Compatibility,cn=plugins,cn=config'
|
|
|
0201d8 |
+add: schema-compat-ignore-subtree: 'cn=dna,cn=ipa,cn=etc,$SUFFIX'
|
|
|
0201d8 |
|
|
|
0201d8 |
dn: cn=groups,cn=Schema Compatibility,cn=plugins,cn=config
|
|
|
0201d8 |
remove: schema-compat-ignore-subtree: cn=changelog
|
|
|
0201d8 |
remove: schema-compat-ignore-subtree: o=ipaca
|
|
|
0201d8 |
add: schema-compat-restrict-subtree: '$SUFFIX'
|
|
|
0201d8 |
add: schema-compat-restrict-subtree: 'cn=Schema Compatibility,cn=plugins,cn=config'
|
|
|
0201d8 |
+add: schema-compat-ignore-subtree: 'cn=dna,cn=ipa,cn=etc,$SUFFIX'
|
|
|
0201d8 |
|
|
|
0201d8 |
dn: cn=Schema Compatibility,cn=plugins,cn=config
|
|
|
0201d8 |
# We need to run schema-compat pre-bind callback before
|
|
|
0201d8 |
--
|
|
|
0201d8 |
2.1.0
|
|
|
0201d8 |
|