authentik
authentik copied to clipboard
ldap_sync for many users is spamming the System Tasks
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...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@BeryJu have the same issue. merged mr #7263 didn't help (installed via beta-channel)
Version and Deployment: authentik version: 2024.4.2 Deployment: docker-compose
I'm new to Authentik, but can't confirm the bug. I've set up the LDAP sync with FreeIPA (about 100 users) and I do have like a single log entry each for users, groups and membership syncs. Looks like fixed in 2024.4 ?