added comments for code plans
This commit is contained in:
@@ -41,4 +41,15 @@ try:
|
||||
print(entry)
|
||||
except core.exceptions.LDAPBindError as e:
|
||||
# If the LDAP bind failed for reasons such as authentication failure.
|
||||
print('LDAP Bind Failed: ', e)
|
||||
print('LDAP Bind Failed: ', e)
|
||||
|
||||
|
||||
# sync ad users with seafile, if disabled or deleted ad user, disable in seafile
|
||||
|
||||
|
||||
# get ad groups and import them into seafile
|
||||
# loop through each group and list members
|
||||
# compare members to users in seafile group
|
||||
# add users to group if missing and in the seafile group
|
||||
# remove members in not in group or seafile group
|
||||
# remove seafile groups if ad group is removed
|
||||
|
||||
Reference in New Issue
Block a user