Skip to content

Commit fd0ec90

Browse files
gabrielbrionesencukou
authored andcommitted
Disable SASL external when missing SASL support
python-ldap#190 Closes: python-ldap#189
1 parent 97aa653 commit fd0ec90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/slapdtest/_slapdtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def __init__(self):
213213
self.ldapi_uri = "ldapi://%s" % quote_plus(ldapi_path)
214214
self.default_ldap_uri = self.ldapi_uri
215215
# use SASL/EXTERNAL via LDAPI when invoking OpenLDAP CLI tools
216-
self.cli_sasl_external = True
216+
self.cli_sasl_external = ldap.SASL_AVAIL
217217
else:
218218
self.ldapi_uri = None
219219
self.default_ldap_uri = self.ldap_uri

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy