mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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
This commit is contained in:
committed by
Simo Sorce
parent
490ae68e29
commit
33860ebb43
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user