summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2012-03-02 12:10:27 +0100
committerMartin Kosek <mkosek@redhat.com>2012-03-02 16:45:35 +0100
commitb7d092a0f4967fafcf5518d638b942e91510b6fc (patch)
treeb80438ea0851d4a292cee24cf9af23107ac85518 /ipalib
parentd5c9f7bcaa257571fa9f4092876864df86876fd3 (diff)
downloadfreeipa-b7d092a0f4967fafcf5518d638b942e91510b6fc.tar.gz
freeipa-b7d092a0f4967fafcf5518d638b942e91510b6fc.tar.xz
freeipa-b7d092a0f4967fafcf5518d638b942e91510b6fc.zip
Remove memberPrincipal for deleted replicas
When a replica is deleted, its memberPrincipal entries in cn=s4u2proxy,cn=etc,SUFFIX were not removed. Then, if the replica is reinstalled and connected again, the installer would report an error with duplicate value in LDAP. This patch extends replica cleanup procedure to remove replica principal from s4u2proxy configuration. https://fedorahosted.org/freeipa/ticket/2451
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/constants.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/constants.py b/ipalib/constants.py
index 3c63739fa..dc32533ee 100644
--- a/ipalib/constants.py
+++ b/ipalib/constants.py
@@ -100,6 +100,7 @@ DEFAULT_CONFIG = (
('container_entitlements', 'cn=entitlements,cn=etc'),
('container_automember', 'cn=automember,cn=etc'),
('container_selinux', 'cn=usermap,cn=selinux'),
+ ('container_s4u2proxy', 'cn=s4u2proxy,cn=etc'),
# Ports, hosts, and URIs:
# FIXME: let's renamed xmlrpc_uri to rpc_xml_uri