summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/odsexporterinstance.py
diff options
context:
space:
mode:
authorMartin Babinsky <mbabinsk@redhat.com>2015-03-12 16:14:22 +0100
committerTomas Babej <tbabej@redhat.com>2015-03-18 12:31:23 +0100
commit7b6bee030dac08807f254fdf58ba867c36cab23d (patch)
tree2dabcb943cbe957fbf7d950b76fc4ec70af4ba30 /ipaserver/install/odsexporterinstance.py
parenta58b77ca9cd3620201306258dd6bd05ea1c73c73 (diff)
downloadfreeipa-7b6bee030dac08807f254fdf58ba867c36cab23d.tar.gz
freeipa-7b6bee030dac08807f254fdf58ba867c36cab23d.tar.xz
freeipa-7b6bee030dac08807f254fdf58ba867c36cab23d.zip
ipa-dns-install: use STARTTLS to connect to DS
BindInstance et al. now use STARTTLS to set up secure connection to DS during ipa-dns-install. This fixes https://fedorahosted.org/freeipa/ticket/4933 Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipaserver/install/odsexporterinstance.py')
-rw-r--r--ipaserver/install/odsexporterinstance.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ipaserver/install/odsexporterinstance.py b/ipaserver/install/odsexporterinstance.py
index e01550446..463e9a675 100644
--- a/ipaserver/install/odsexporterinstance.py
+++ b/ipaserver/install/odsexporterinstance.py
@@ -19,13 +19,14 @@ from ipalib import errors
class ODSExporterInstance(service.Service):
- def __init__(self, fstore=None, dm_password=None):
+ def __init__(self, fstore=None, dm_password=None, start_tls=False):
service.Service.__init__(
self, "ipa-ods-exporter",
service_desc="IPA OpenDNSSEC exporter daemon",
dm_password=dm_password,
ldapi=False,
- autobind=ipaldap.AUTOBIND_DISABLED
+ autobind=ipaldap.AUTOBIND_DISABLED,
+ start_tls=start_tls
)
self.dm_password = dm_password
self.ods_uid = None