Update to 2024-05-03 17:01

This commit is contained in:
Daniel Berteaud
2024-05-03 17:01:02 +02:00
parent de23ac213c
commit 4cf191bd76
3 changed files with 11 additions and 3 deletions

View File

@@ -188,11 +188,15 @@ LDAP_CONTACT_EMAIL_ATTR = '{{ seafile_ldap_email_attr }}'
LDAP_USER_FIRST_NAME_ATTR = '{{ seafile_ldap_first_name_attr }}'
LDAP_USER_LAST_NAME_ATTR = '{{ seafile_ldap_last_name_attr }}'
{% if seafile_license is defined %}
{% if seafile_edition == 'pro' %}
LDAP_SYNC_INTERVAL = 60
ENABLE_LDAP_USER_SYNC = True
{% if seafile_ldap_group_filter is defined %}
ENABLE_LDAP_GROUP_SYNC = True
LDAP_GROUP_FILTER = '{{ seafile_ldap_group_filter }}'
LDAP_GROUP_OBJECT_CLASS = '{{ seafile_ldap_group_object_class }}'
LDAP_GROUP_MEMBER_ATTR = '{{ seafile_ldap_group_member_attr }}'
LDAP_GROUP_UUID_ATTR = '{{ seafile_ldap_group_uuid_attr }}'
{% endif %}
DEACTIVE_USER_IF_NOTFOUND = True
LDAP_USER_OBJECT_CLASS = 'person'