Line
Link Here
|
0 |
-- /usr/sbin/univention-adsearch 2020-06-27 13:37:58.000000000 +0200 |
0 |
++ /tmp/univention-adsearch 2020-07-15 16:49:00.543603839 +0200 |
Lines 122-128
Link Here
|
122 |
|
122 |
|
123 |
certificate_chain_filename = '/var/cache/univention-ad-connector/CAcert-%s.pem' % CONFIGBASENAME |
123 |
certificate_chain_filename = '/var/cache/univention-ad-connector/CAcert-%s.pem' % CONFIGBASENAME |
124 |
start_tls = 2 if configRegistry.is_true('%s/ad/ldap/ssl' % CONFIGBASENAME, True) else 0 |
124 |
start_tls = 2 if configRegistry.is_true('%s/ad/ldap/ssl' % CONFIGBASENAME, True) else 0 |
125 |
if start_tls > 0: |
125 |
if start_tls > 0 or protocol == 'ldaps': |
126 |
ad_cert_filename = configRegistry.get('%s/ad/ldap/certificate' % CONFIGBASENAME) |
126 |
ad_cert_filename = configRegistry.get('%s/ad/ldap/certificate' % CONFIGBASENAME) |
127 |
if ad_cert_filename: |
127 |
if ad_cert_filename: |
128 |
if not os.path.exists(certificate_chain_filename): |
128 |
if not os.path.exists(certificate_chain_filename): |