diff options
author | Rob Crittenden <rcritten@redhat.com> | 2010-12-11 00:42:52 -0500 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2010-12-11 10:42:09 -0500 |
commit | 33860ebb43bb23e8abc9d5b5d36ec341ddf4a413 (patch) | |
tree | 04a8618af7dfb22d907a232cad64887d82f2a529 /install | |
parent | 490ae68e297b7da1d8d1b653f1faee31a3688caf (diff) | |
download | freeipa-33860ebb43bb23e8abc9d5b5d36ec341ddf4a413.tar.gz freeipa-33860ebb43bb23e8abc9d5b5d36ec341ddf4a413.tar.xz freeipa-33860ebb43bb23e8abc9d5b5d36ec341ddf4a413.zip |
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
Diffstat (limited to 'install')
-rwxr-xr-x | 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 93f9fa39a..720fe6777 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: |