Skip to content

Commit

Permalink
added timeout for ldap shell
Browse files Browse the repository at this point in the history
  • Loading branch information
ly4k committed Jun 18, 2023
1 parent 1f113ea commit b7fb6b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions certipy/commands/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ def ldap_authentication(
sasl_credentials=sasl_credentials,
auto_bind=ldap3.AUTO_BIND_TLS_BEFORE_BIND,
raise_exceptions=True,
receive_timeout=self.target.timeout * 10
)
except ldap3.core.exceptions.LDAPUnavailableResult as e:
logging.error("LDAP not configured for SSL/TLS connections")
Expand Down

0 comments on commit b7fb6b2

Please sign in to comment.