From d29bb7cf189eba70d1613845caaaa3c340293ebc Mon Sep 17 00:00:00 2001 From: termanix <50464194+termanix@users.noreply.github.com> Date: Tue, 28 Nov 2023 19:00:44 +0300 Subject: [PATCH] Update ldap.py Try to fix Ruff error Signed-off-by: termanix <50464194+termanix@users.noreply.github.com> --- nxc/protocols/ldap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxc/protocols/ldap.py b/nxc/protocols/ldap.py index 3d3e6038..7766f87d 100644 --- a/nxc/protocols/ldap.py +++ b/nxc/protocols/ldap.py @@ -834,7 +834,7 @@ class ldap(connection): def active_users(self): # Building the search filter search_filter = "(sAMAccountType=805306368)" if self.username != "" else "(objectclass=*)" - attributes = ["sAMAccountName","userAccountControl"] + attributes = ["sAMAccountName", "userAccountControl"] resp = self.search(search_filter, attributes, sizeLimit=0) if resp: