From d7db0cac47bffca63d7ba09182b8d93d6d2a9635 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Thu, 18 Sep 2025 23:11:22 +0200 Subject: [PATCH] ldap.Auth: Fix commit 72d56d9 Commit 72d56d9 (Move type argument into config) swapped the order of arguments in Auth.load(), but the ctor of ldap.Auth didn't follow the change, fix that. Signed-off-by: Jan Lindemann --- tools/python/jwutils/auth/ldap/Auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/jwutils/auth/ldap/Auth.py b/tools/python/jwutils/auth/ldap/Auth.py index 989052e..a714642 100644 --- a/tools/python/jwutils/auth/ldap/Auth.py +++ b/tools/python/jwutils/auth/ldap/Auth.py @@ -60,7 +60,7 @@ class Auth(AuthBase): # export self.__current_user: User|None = None self.__user_base_dn = conf['user_base_dn'] self.__conn = self.__bind() - self.__dummy = self.load('dummy', conf) + self.__dummy = self.load(conf, 'dummy') def __bind(self): return bind(self.conf)