summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2013-03-06 13:13:58 +0200
committerMartin Kosek <mkosek@redhat.com>2013-03-06 16:51:18 +0100
commit0b0af8b233e787ca9742526aa72c88f10e37d3f6 (patch)
tree54cb31c76e2f44ee73cbe255f27fb848b8f1b0f8 /install
parentead4280a921edfdda6b305ecc0b30147bf253160 (diff)
downloadfreeipa-0b0af8b233e787ca9742526aa72c88f10e37d3f6.tar.gz
freeipa-0b0af8b233e787ca9742526aa72c88f10e37d3f6.tar.xz
freeipa-0b0af8b233e787ca9742526aa72c88f10e37d3f6.zip
ipa-replica-manage: migrate to single_value after LDAPEntry updates
Diffstat (limited to 'install')
-rwxr-xr-xinstall/tools/ipa-replica-manage4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/tools/ipa-replica-manage b/install/tools/ipa-replica-manage
index 859809bf1..82648bd52 100755
--- a/install/tools/ipa-replica-manage
+++ b/install/tools/ipa-replica-manage
@@ -632,11 +632,11 @@ def del_master(realm, hostname, options):
this_services = []
other_services = []
- for master_cn in [m.getValue('cn') for m in masters]:
+ for master_cn in [m.single_value('cn') for m in masters]:
master_dn = DN(('cn', master_cn), ('cn', 'masters'), ('cn', 'ipa'), ('cn', 'etc'), ipautil.realm_to_suffix(realm))
services = delrepl.conn.get_entries(master_dn,
delrepl.conn.SCOPE_ONELEVEL)
- services_cns = [s.getValue('cn') for s in services]
+ services_cns = [s.single_value('cn') for s in services]
if master_cn == hostname:
this_services = services_cns