Steakie
Hi,
I don' think ist my fault, in the log i get the following entries. (ldap works well for user import and authentication)
`2025-08-13 14:38:22.524350: [ERROR] (flask.app) Traceback (most recent call last):
2025-08-13 14:38:22.524350: File "/usr/lib/python3.6/site-packages/flask/app.py", line 1838, in full_dispatch_request
2025-08-13 14:38:22.524350: rv = self.dispatch_request()
2025-08-13 14:38:22.524350: File "/usr/lib/python3.6/site-packages/flask/app.py", line 1824, in dispatch_request
2025-08-13 14:38:22.524350: return self.view_functionsrule.endpoint
2025-08-13 14:38:22.524350: File "./api/core.py", line 204, in wrapper
2025-08-13 14:38:22.524350: return call()
2025-08-13 14:38:22.524350: File "./api/core.py", line 169, in call
2025-08-13 14:38:22.524350: ret = func(*args, **kwargs)
2025-08-13 14:38:22.524350: File "./endpoints/misc.py", line 43, in login
2025-08-13 14:38:22.524350: success, val = loginUser(request.form["user"], request.form["pass"])
2025-08-13 14:38:22.524350: File "./api/security.py", line 214, in loginUser
2025-08-13 14:38:22.524350: error = ldap.authUser(user.externID, password)
2025-08-13 14:38:22.524350: File "./services/ldap.py", line 424, in authUser
2025-08-13 14:38:22.524350: ldap3.Connection(self._config["connection"].get("server"), user=userDN, password=password, auto_bind=True)
2025-08-13 14:38:22.524350: File "/usr/lib/python3.6/site-packages/ldap3/core/connection.py", line 278, in init
2025-08-13 14:38:22.524350: server = Server(server)
2025-08-13 14:38:22.524350: File "/usr/lib/python3.6/site-packages/ldap3/core/server.py", line 141, in init
2025-08-13 14:38:22.524350: raise LDAPInvalidServerError()
[2025-08-13 14:38:22.525617]: [WARNING] (flask.app) POST /api/v1/login? from 192.168.2.61 -> 500 '{"message":"The server encountered an error while processing the request."}\n'`
rg
Christian