From fcc536a86867883cce2ec26ddcb1f30a2a9f50a0 Mon Sep 17 00:00:00 2001 From: John Gaunt Date: Mon, 23 May 2022 19:28:47 -0400 Subject: [PATCH] missing bracket --- seafile-sso.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seafile-sso.py b/seafile-sso.py index 9ebb85c..2071e08 100644 --- a/seafile-sso.py +++ b/seafile-sso.py @@ -116,7 +116,7 @@ for seafileUser in seafileUsers: continue else: logger.debug("User: {0} - Active: {1}".format(seafileUser['email'], bool(seafileUser['is_active']))) - logger.debug("Checking if {0} user has an email, is active, and is in the seafile group".format(seafileUser['email']) + logger.debug("Checking if {0} user has an email, is active, and is in the seafile group".format(seafileUser['email'])) ldap.search(ldapBase, '(&(mail={0})(!(userAccountControl:1.2.840.113556.1.4.803:=2))({1}))'.format(seafileUser['email'], ldapFilter), attributes=['*']) count = len(ldap.entries) logger.debug("Found {0} LDAP user.".format(count))