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>
This commit is contained in:
1 parent
a58b77ca9c
commit
7b6bee030d
6 files changed
+33
-17
No files matched your search
@@ -533,13 +533,16 @@ class DnsBackup(object):
|
||||
|
||||
|
||||
class BindInstance(service.Service):
|
||||
def __init__(self, fstore=None, dm_password=None, api=api):
|
||||
service.Service.__init__(self, "named",
|
||||
def __init__(self, fstore=None, dm_password=None, api=api,
|
||||
start_tls=False):
|
||||
service.Service.__init__(
|
||||
self, "named",
|
||||
service_desc="DNS",
|
||||
dm_password=dm_password,
|
||||
ldapi=False,
|
||||
autobind=ipaldap.AUTOBIND_DISABLED
|
||||
)
|
||||
autobind=ipaldap.AUTOBIND_DISABLED,
|
||||
start_tls=start_tls
|
||||
)
|
||||
self.dns_backup = DnsBackup(self)
|
||||
self.named_user = None
|
||||
self.domain = None
|
||||
|
||||
Reference in new issue
Block a user