Skip to content

Commit

Permalink
Disable SASL external when missing SASL support
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Briones authored and Petr Viktorin committed Mar 15, 2018
1 parent 97aa653 commit fd0ec90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/slapdtest/_slapdtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def __init__(self):
self.ldapi_uri = "ldapi://%s" % quote_plus(ldapi_path)
self.default_ldap_uri = self.ldapi_uri
# use SASL/EXTERNAL via LDAPI when invoking OpenLDAP CLI tools
self.cli_sasl_external = True
self.cli_sasl_external = ldap.SASL_AVAIL
else:
self.ldapi_uri = None
self.default_ldap_uri = self.ldap_uri
Expand Down

0 comments on commit fd0ec90

Please sign in to comment.