diff options
Diffstat (limited to 'ipalib')
-rw-r--r-- | ipalib/plugins/topology.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ipalib/plugins/topology.py b/ipalib/plugins/topology.py index be2ac0bd2..494d3bb0a 100644 --- a/ipalib/plugins/topology.py +++ b/ipalib/plugins/topology.py @@ -294,9 +294,11 @@ class topologysegment_reinitialize(LDAPQuery): msg = _('Stopping of replication refresh for segment: "' '%(pkey)s" requested.') - if left: - entry['nsds5beginreplicarefresh;left'] = [action] + # left and right are swapped because internally it's a push not + # pull operation if right: + entry['nsds5beginreplicarefresh;left'] = [action] + if left: entry['nsds5beginreplicarefresh;right'] = [action] self.obj.backend.update_entry(entry) |