Skip to content

Commit 337d7fb

Browse files
authored
Merge pull request #14941 from nextcloud/fix/ldap-remove-updateAttributesInterval-docs
docs: replace removed updateAttributesInterval with current LDAP sync behavior
2 parents 870eda9 + 1b4a6c1 commit 337d7fb

1 file changed

Lines changed: 9 additions & 18 deletions

File tree

admin_manual/configuration_user/user_auth_ldap.rst

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -650,26 +650,17 @@ Additional configuration options via occ
650650

651651
Few configuration settings can only be set on command line via ``occ``.
652652

653-
Attribute update interval
654-
^^^^^^^^^^^^^^^^^^^^^^^^^
653+
Background sync interval
654+
^^^^^^^^^^^^^^^^^^^^^^^^
655655

656-
The LDAP backend will update user information that is used within Nextcloud
657-
with the values provided by the LDAP server. For instance these are email,
658-
quota or the avatar. This happens on every login, the first detection of a user
659-
from LDAP and regularly by a background job.
656+
The LDAP backend updates user attributes (email, quota, avatar, and others) on
657+
every login, on first detection of a new user, and periodically via a background
658+
job.
660659

661-
The interval value determines the time between updates of the values and is
662-
used to avoid frequent overhead, including time-expensive write actions to
663-
the database.
664-
665-
The interval is described in seconds and it defaults to 86400 equalling a day.
666-
It is not a per-configuration option.
667-
668-
The value can be modified by::
669-
670-
sudo -E -u www-data php occ config:app:set user_ldap updateAttributesInterval --value=86400
671-
672-
A value of 0 will update it on every of the named occasions.
660+
The background job recalculates its run interval after each cycle. The goal is
661+
to process every known LDAP user approximately once per day. The interval is
662+
derived from the total number of mapped users and the smallest configured LDAP
663+
paging size, then clamped to a minimum of 30 minutes and a maximum of 12 hours.
673664

674665
Administrative Group mapping
675666
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)