Reduce LDAP proxy user sign-ins with direct bind #24993
Unanswered
runleveldev
asked this question in
Q&A
Replies: 1 comment 2 replies
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I've been utilizing Authentik with it's LDAP outpost to enable SSSD LDAP logins for my servers. We landed on this solution due to the ability to use DUO push notifications as the 2FA mechanism for the login even over SSH. SSSD is configured with a "proxy user" which bypasses 2FA requirements to perform it's initial searches with. This works fairly well, but the event logs in Authentik are spammed with logins from the proxy user due to the number of servers we have utilizing it. I know cached binding would fix this, but it would also remove the ability to use DUO 2FA during the bind. Are there any ways to exclude the proxy user's LDAP binds from the login events?
The original motivation here was I was investigating the system performance and it seems that each login queues a "Dispatch new event notifications." task. I could scale my workers to handle these faster, but I don't like the idea that my worker count has to scale linearly with my SSSD instance count. If I could just get the ldap proxy user's binds to bypass that I shouldn't have any issue for a while.
All reactions