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.
ticket 549
rob
>From 6ccbd3d0894587021c629cd41b2263fd1dc338c1 Mon Sep 17 00:00:00 2001
From: Rob Crittenden <[email protected]>
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.
ticket 549
---
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
--- a/install/tools/ipa-replica-manage
+++ b/install/tools/ipa-replica-manage
@@ -129,7 +129,7 @@ def del_master(replman, hostname, force=False):
if t == replication.IPA_REPLICA:
failed = False
try:
- other_replman = replication.ReplicationManager(hostname, dirman_passwd=None)
+ other_replman = replication.ReplicationManager(hostname, replman.dirman_passwd)
other_replman.suffix = get_suffix()
other_replman.delete_agreement(replman.conn.host)
except ldap.LDAPError, e:
--
1.7.2.1
_______________________________________________
Freeipa-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/freeipa-devel