summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/dsinstance.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-07-14 23:35:01 -0400
committerRob Crittenden <rcritten@redhat.com>2011-07-17 22:16:32 -0400
commit3fdca99c48f19d6af7182b69bea0ee11100a9dd7 (patch)
tree4d50a038687198d36555ca531da415a125f2c25e /ipaserver/install/dsinstance.py
parent2f650b60a4ce9c9b19a64b21ebe3051668efb4af (diff)
downloadfreeipa-3fdca99c48f19d6af7182b69bea0ee11100a9dd7.tar.gz
freeipa-3fdca99c48f19d6af7182b69bea0ee11100a9dd7.tar.xz
freeipa-3fdca99c48f19d6af7182b69bea0ee11100a9dd7.zip
Create tool to manage dogtag replication agreements
For the most part the existing replication code worked with the following exceptions: - Added more port options - It assumed that initial connections were done to an SSL port. Added ability to use startTLS - It assumed that the name of the agreement was the same on both sides. In dogtag one is marked as master and one as clone. A new option is added, master, the determines which side we're working on or None if it isn't a dogtag agreement. - Don't set the attribute exclude list on dogtag agreements - dogtag doesn't set a schedule by default (which is actually recommended by 389-ds). This causes problems when doing a force-sync though so if one is done we set a schedule to run all the time. Otherwise the temporary schedule can't be removed (LDAP operations error). https://fedorahosted.org/freeipa/ticket/1250
Diffstat (limited to 'ipaserver/install/dsinstance.py')
-rw-r--r--ipaserver/install/dsinstance.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py
index 9033b7bfd..99b021590 100644
--- a/ipaserver/install/dsinstance.py
+++ b/ipaserver/install/dsinstance.py
@@ -305,8 +305,8 @@ class DsInstance(service.Service):
self.fqdn,
self.dm_password)
repl.setup_replication(self.master_fqdn,
- "cn=Directory Manager",
- self.dm_password)
+ r_binddn="cn=Directory Manager",
+ r_bindpw=self.dm_password)
def __enable(self):
self.backup_state("enabled", self.is_enabled())