mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
use starttls in CSReplicationManager connection again
commit 2606f5aecd
has:
- realm, hostname, dirman_passwd, port, starttls=True)
+ realm, hostname, dirman_passwd, port)
In CSReplicationManager
which causes, e.g.:
ipa-csreplica-manage -p Secret123 list ipa.example.com
cannot connect to 'ldaps://ipa.example.com:389': TLS error -5938:Encountered end of file
Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
committed by
Tomas Babej
parent
79f32a6dc4
commit
7b976c664d
@@ -1717,7 +1717,7 @@ class CSReplicationManager(ReplicationManager):
|
||||
|
||||
def __init__(self, realm, hostname, dirman_passwd, port):
|
||||
super(CSReplicationManager, self).__init__(
|
||||
realm, hostname, dirman_passwd, port)
|
||||
realm, hostname, dirman_passwd, port, starttls=True)
|
||||
self.db_suffix = DN(('o', 'ipaca'))
|
||||
self.hostnames = [] # set before calling or agreement_dn() will fail
|
||||
|
||||
|
||||
Reference in New Issue
Block a user