summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/odsexporterinstance.py
diff options
context:
space:
mode:
authorMartin Babinsky <mbabinsk@redhat.com>2015-03-12 17:05:39 +0100
committerTomas Babej <tbabej@redhat.com>2015-03-18 12:31:23 +0100
commit26d6c6fbbbd6d024d82b1ab515d300e6113d2c34 (patch)
tree2628a0123f547c117b0cea87f09e4569bd603f22 /ipaserver/install/odsexporterinstance.py
parent7b6bee030dac08807f254fdf58ba867c36cab23d (diff)
downloadfreeipa-26d6c6fbbbd6d024d82b1ab515d300e6113d2c34.tar.gz
freeipa-26d6c6fbbbd6d024d82b1ab515d300e6113d2c34.tar.xz
freeipa-26d6c6fbbbd6d024d82b1ab515d300e6113d2c34.zip
ipa-dns-install: use LDAPI to connect to DS
ipa-dns-install now uses LDAPI/autobind to connect to DS during the setup of DNS/DNSSEC-related service and thus makes -p option obsolete. Futhermore, now it makes more sense to use LDAPI also for API Backend connections to DS and thus all forms of Kerberos auth were removed. This fixes https://fedorahosted.org/freeipa/ticket/4933 and brings us closer to fixing https://fedorahosted.org/freeipa/ticket/2957 Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipaserver/install/odsexporterinstance.py')
-rw-r--r--ipaserver/install/odsexporterinstance.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/ipaserver/install/odsexporterinstance.py b/ipaserver/install/odsexporterinstance.py
index 463e9a675..5b6245bc4 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, start_tls=False):
+ def __init__(self, fstore=None, dm_password=None, ldapi=False,
+ start_tls=False, autobind=ipaldap.AUTOBIND_DISABLED):
service.Service.__init__(
self, "ipa-ods-exporter",
service_desc="IPA OpenDNSSEC exporter daemon",
dm_password=dm_password,
- ldapi=False,
- autobind=ipaldap.AUTOBIND_DISABLED,
+ ldapi=ldapi,
+ autobind=autobind,
start_tls=start_tls
)
self.dm_password = dm_password