Fix bad merge of not calling memberof task when re-initializing a replica

https://fedorahosted.org/freeipa/ticket/2199
This commit is contained in:
Rob Crittenden 2012-02-28 13:28:14 -05:00
parent 372d67ae81
commit a6a83ec168

View File

@ -415,7 +415,7 @@ def re_initialize(realm, thishost, fromhost, dirman_passwd):
# If the agreement doesn't have nsDS5ReplicatedAttributeListTotal it means # If the agreement doesn't have nsDS5ReplicatedAttributeListTotal it means
# we did not replicate memberOf, do so now. # 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 = dsinstance.DsInstance(realm_name = realm, dm_password = dirman_passwd)
ds.init_memberof() ds.init_memberof()