diff --git a/seafile-sso.py b/seafile-sso.py index f4c7e5c..945e1fe 100644 --- a/seafile-sso.py +++ b/seafile-sso.py @@ -115,7 +115,7 @@ for seafileUser in seafileUsers: if seafileUser['email'] == adminEmail: continue else: - logger.debug("Found user {0} with active status {1} is seafile".format(seafileUser['email'], bool(seafileUser['is_active']))) + logger.debug("Found user {0} with active status {1} in seafile".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'])) ldap.search(ldapBase, '(&(mail={0})(!(userAccountControl:1.2.840.113556.1.4.803:=2))({1}))'.format(seafileUser['email'], ldapFilter), attributes=['*']) count = len(ldap.entries)