From 33860ebb43bb23e8abc9d5b5d36ec341ddf4a413 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Sat, 11 Dec 2010 00:42:52 -0500 Subject: 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 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install') diff --git a/install/tools/ipa-replica-manage b/install/tools/ipa-replica-manage index 93f9fa39..720fe677 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: -- cgit