goauthentik / goauthentik/authentik

Increase LDAP provider performance

Open
#9,955 3 comments 5 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
25.6k
Forks
2k
Avg merge
1d 2h
Merged PRs (30d)
659

Description

**Describe your question/**
We imported around 100k users from an AD source, to which we have no write access. That's why we use Authentik as a Middleware (as well as securing applications). Now I connected a test server via sssd as well as a Gitlab instance (via LDAP and OAuth) to authentik. While OAuth works flawless the SSSD / LDAP connection is quite slow. It takes 5-7s to login at git via LDAP or clone a repo. The ssh connection to the test server also takes that long. I already tried different settings (caching and no caching), but I can't seem to get the performance fast enough even when all users are cached within the ldap provider.

Is there a way to increase the performance?

**Relevant info**
/

**Screenshots**
/

**Logs**
/

**Version and Deployment (please complete the following information):**

- authentik version: 2024.4.2
- Deployment: docker-compose

**Additional context**
/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.