From: Michael Tremer Date: Fri, 22 Oct 2021 17:10:42 +0000 (+0000) Subject: Make test_ldap an async operation X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=75cde144ab4870bd4dc2e92c04c873f4f19954f2;p=ipfire.org.git Make test_ldap an async operation Signed-off-by: Michael Tremer --- diff --git a/src/backend/accounts.py b/src/backend/accounts.py index a3c8297b..54987230 100644 --- a/src/backend/accounts.py +++ b/src/backend/accounts.py @@ -208,7 +208,7 @@ class Accounts(Object): # Authenticate against LDAP server using Kerberos self.ldap.sasl_gssapi_bind_s() - def test_ldap(self): + async def test_ldap(self): logging.info("Testing LDAP connection...") self._authenticate()