]> git.ipfire.org Git - ipfire.org.git/commitdiff
Make test_ldap an async operation
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 22 Oct 2021 17:10:42 +0000 (17:10 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 22 Oct 2021 17:10:42 +0000 (17:10 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/backend/accounts.py

index a3c8297bc65e9082a478b4999df748c4833f7b77..54987230630ac021836445307b379970d81e58eb 100644 (file)
@@ -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()