From 4fd41ef4d8b55ca6e83a4db2e5b48ee7578faad1 Mon Sep 17 00:00:00 2001 From: patrick Date: Thu, 21 Oct 2021 11:30:48 +0000 Subject: [PATCH] change ldap server to juri --- fet2020/authentications/authentications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fet2020/authentications/authentications.py b/fet2020/authentications/authentications.py index 16e6cce5..7e36443d 100644 --- a/fet2020/authentications/authentications.py +++ b/fet2020/authentications/authentications.py @@ -14,7 +14,7 @@ def authentication(username, password): new_username = "uid={username},ou=user,dc=fet,dc=htu,dc=tuwien,dc=ac,dc=at" userdn = new_username.format(username=username) - server_uri = "ldap://gagarin.fet.htu.tuwien.ac.at" + server_uri = "ldap://juri.fet.htu.tuwien.ac.at" server = ldap3.Server(server_uri, port=389, use_ssl=True) has_user = False