diff options
author | Rob Crittenden <rcritten@redhat.com> | 2012-01-27 13:10:45 -0500 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2012-02-27 14:38:21 +0100 |
commit | 31f00f90f1a08804e9dfdd6bdf85c2dc245bea51 (patch) | |
tree | 63899c7f7ee697323f380a5416c7876d0027f9e6 /ipaserver | |
parent | 872047fa0e666f0ac0328f4d6f75dc8bf560485c (diff) | |
download | freeipa-31f00f90f1a08804e9dfdd6bdf85c2dc245bea51.tar.gz freeipa-31f00f90f1a08804e9dfdd6bdf85c2dc245bea51.tar.xz freeipa-31f00f90f1a08804e9dfdd6bdf85c2dc245bea51.zip |
Fix managing winsync replication agreements with ipa-replica-manage
force-sync, re-initialize and del were not working because they
all attempted to contact the AD server. winsync agreements are
managed on the local 389-ds instance.
This also:
- requires root to create winsync agreement (for updating NSS db)
- fixes filter in get_replication_agreement() to work with winsync
https://fedorahosted.org/freeipa/ticket/2128
Diffstat (limited to 'ipaserver')
-rw-r--r-- | ipaserver/install/replication.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/replication.py b/ipaserver/install/replication.py index b36fbf8de..9247b58fc 100644 --- a/ipaserver/install/replication.py +++ b/ipaserver/install/replication.py @@ -226,7 +226,7 @@ class ReplicationManager(object): Returns None if not found. """ - filt = "(&(objectclass=nsds5ReplicationAgreement)(nsDS5ReplicaHost=%s))" % hostname + filt = "(&(|(objectclass=nsds5ReplicationAgreement)(objectclass=nsDSWindowsReplicationAgreement))(nsDS5ReplicaHost=%s))" % hostname try: entry = self.conn.search_s("cn=mapping tree,cn=config", ldap.SCOPE_SUBTREE, filt) |