grammar check
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user