If the ticket is expired or otherwise unusable it should fall back to
the DM password. It was prompted for correctly but wasn't being passed on.
Note that there is a problem with the access controls that prevents
management, I opened ticket 617 for that.
>From 6ccbd3d0894587021c629cd41b2263fd1dc338c1 Mon Sep 17 00:00:00 2001
From: Rob Crittenden <rcrit...@redhat.com>
Date: Sat, 11 Dec 2010 00:42:52 -0500
Subject: [PATCH] Pass the DM password when trying to delete a replica.
If the ticket is expired or otherwise unusable it should fall back to the DM
password. It was prompted for correctly but wasn't being passed on.
install/tools/ipa-replica-manage | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/install/tools/ipa-replica-manage b/install/tools/ipa-replica-manage
index 93f9fa3..720fe67 100755
@@ -129,7 +129,7 @@ def del_master(replman, hostname, force=False):
if t == replication.IPA_REPLICA:
failed = False
- other_replman = replication.ReplicationManager(hostname, dirman_passwd=None)
+ other_replman = replication.ReplicationManager(hostname, replman.dirman_passwd)
other_replman.suffix = get_suffix()
except ldap.LDAPError, e:
Freeipa-devel mailing list