ldap3: Connection: auto_bind also supports booleans (#11289)

This commit is contained in:
Taavi Väänänen
2024-01-18 13:42:35 +02:00
committed by GitHub
parent 7129bd112b
commit c51de8ee68

View File

@@ -70,7 +70,7 @@ class Connection:
server: Server | str | _ServerSequence | ServerPool,
user: str | None = None,
password: str | None = None,
auto_bind: Literal["DEFAULT", "NONE", "NO_TLS", "TLS_BEFORE_BIND", "TLS_AFTER_BIND"] = "DEFAULT",
auto_bind: Literal["DEFAULT", "NONE", "NO_TLS", "TLS_BEFORE_BIND", "TLS_AFTER_BIND"] | bool = "DEFAULT",
version: int = 3,
authentication: Literal["ANONYMOUS", "SIMPLE", "SASL", "NTLM"] | None = None,
client_strategy: Literal[