Skip to content

Commit 3726f72

Browse files
authored
Update syncer.py
1 parent e45d586 commit 3726f72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syncer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def main():
3434
time.sleep(interval)
3535

3636
def sync():
37-
ldap_connector = ldap.initialize(f"ldaps://{config['LDAP_HOST']}")
37+
ldap_connector = ldap.initialize(f"{config['LDAP_HOST']}")
3838
ldap_connector.set_option(ldap.OPT_REFERRALS, 0)
3939
ldap_connector.simple_bind_s(config['LDAP_BIND_DN'], config['LDAP_BIND_DN_PASSWORD'])
4040

0 commit comments

Comments
 (0)