diff --git a/install/tools/ipa-replica-manage b/install/tools/ipa-replica-manage index fc362f42e..da327e5b9 100755 --- a/install/tools/ipa-replica-manage +++ b/install/tools/ipa-replica-manage @@ -415,7 +415,7 @@ def re_initialize(realm, thishost, fromhost, dirman_passwd): # If the agreement doesn't have nsDS5ReplicatedAttributeListTotal it means # we did not replicate memberOf, do so now. - if not entry[0].getValue('nsDS5ReplicatedAttributeListTotal'): + if not agreement.getValue('nsDS5ReplicatedAttributeListTotal'): ds = dsinstance.DsInstance(realm_name = realm, dm_password = dirman_passwd) ds.init_memberof()