diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-02-08 22:24:54 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-02-10 13:54:39 -0500 |
commit | b77046d55089f52a060128bf6d78a5e7fe9161fd (patch) | |
tree | 64a8ad1b6f59cc5d0ec549a6acdc9472221bd1fd /ipaserver/install/dsinstance.py | |
parent | c187b276ad60e06be260899889628b7979f267e4 (diff) | |
download | freeipa-b77046d55089f52a060128bf6d78a5e7fe9161fd.tar.gz freeipa-b77046d55089f52a060128bf6d78a5e7fe9161fd.tar.xz freeipa-b77046d55089f52a060128bf6d78a5e7fe9161fd.zip |
Disable replication version plugin by default.
The 389-ds replication plugin may not be installed on all platforms
and our replication version plugin will cause 389-ds to not start
if it is loaded and the replication plugin is not. So disable by
default.
When a replica is prepared we check for the replication plugin.
If it exists we will enable the replication version plugin.
Likewise on installation of a replica we check for existence of
the repliation plugin and if it is there then we enable the version
plugin before replication begins.
ticket 918
Diffstat (limited to 'ipaserver/install/dsinstance.py')
-rw-r--r-- | ipaserver/install/dsinstance.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py index be6b50483..2544e167b 100644 --- a/ipaserver/install/dsinstance.py +++ b/ipaserver/install/dsinstance.py @@ -289,6 +289,10 @@ class DsInstance(service.Service): def __setup_replica(self): + replication.enable_replication_version_checking(self.fqdn, + self.realm_name, + self.dm_password) + repl = replication.ReplicationManager(self.realm_name, self.fqdn, self.dm_password) |