typo
This commit is contained in:
@@ -289,7 +289,7 @@ seafileGroups = request('admin/groups/', seafileURL, seafileToken)['response']['
|
|||||||
for seafileGroup in seafileGroups:
|
for seafileGroup in seafileGroups:
|
||||||
# need to check if group exists in ad first and if not delete it
|
# need to check if group exists in ad first and if not delete it
|
||||||
logger.debug("Searching for ldap group {0}.".format(seafileGroup))
|
logger.debug("Searching for ldap group {0}.".format(seafileGroup))
|
||||||
ldap.search(ldapBase, '(samaccountname={1})'.format(seafileGroup), attributes=['*'])
|
ldap.search(ldapBase, '(samaccountname={0})'.format(seafileGroup), attributes=['*'])
|
||||||
count = len(ldap.entries)
|
count = len(ldap.entries)
|
||||||
logger.debug("Found {0} LDAP group.".format(count))
|
logger.debug("Found {0} LDAP group.".format(count))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user