-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Describe the bug
Due to pagination, one instance of the ldap_sync task is created for each 50 users from an LDAP source. My LDAP source has more than 100,000 users. This in itself wouldn't be an issue, but for each completed ldap_sync task, an entry is shown in the web's admin interface in "System Tasks". This makes the page huge and ugly.
To Reproduce
Steps to reproduce the behavior:
- Create an LDAP source with more than 50 users
- Wait for it to sync
- Go to "System Tasks" page in the Admin Interface
Expected behavior
There is an entry for ldap_sync_all or ldap_sync_single, and maybe an aggregation entry for all ldap_sync tasks, but not so many duplicates.
Screenshots
Of the 1000 entries in this list, more than 99% are ldap_sync.

Version and Deployment (please complete the following information):
- authentik version: 2023.8.2
- Deployment: docker-compose
Additional context
Just some small extra bug: pagination seems to be not working as intended on that page.
BTW, I'm filing a lot of issues around LDAP here, but I've come across all of these within just one day of getting sync to run again...