Skip to content

Commit f10922a

Browse files
committed
fix: ldap connects to the first avaiable server
1 parent 0d3e57a commit f10922a

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGES
22
=======
33

4+
v2.5.7
5+
------
6+
7+
* bump: 2.5.7
8+
* fix: fetch depth for pypi release
49
* fix: default values for the attributes it used to not work with None
510
* feat: pypi release workflow
611

csh_ldap/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def __init__(self, bind_dn, bind_pw, *, batch_mods=False,
3434
try:
3535
self.__con__ = ReconnectLDAPObject(uri)
3636
self.server_uri = uri
37+
break
3738
except (ldap.SERVER_DOWN, ldap.TIMEOUT):
3839
continue
3940

0 commit comments

Comments
 (0)