matomo-org / matomo-org/plugin-LoginLdap

Fails Synchronizing Large Directories

Open
#177 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
37
Forks
30
Avg merge
22h 53m
Merged PRs (30d)
19

Description

We have a large directory ~80,000 and have noticed the `loginldap:synchronize-users` stops at 20,000. We presume that is because the LDAP server has a response limit. It looks like the PHP ldap module has a [pagination process ](http://php.net/manual/en/function.ldap-control-paged-result.php) to handle this.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the `loginldap:synchronize-users` command and review the PHP LDAP pagination process referenced in the issue. Identify where synchronization stops at 20,000 entries and verify that completion handles directories larger than that limit without omitting users.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.