Repository navigation
sources/ldap: support SASL external - #26067
Conversation
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-integrations ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
4e70a62 to
4f3bfc1
Compare
|
@dewi-tik are there any other e2e tests you'd like me to consider in addition to the openldap container? Also, I'm not sure if I made the correct UI decision here. I could see this also being a toggle for now. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #26067 +/- ##
==========================================
+ Coverage 91.90% 91.92% +0.01%
==========================================
Files 1171 1171
Lines 75723 75855 +132
Branches 4056 4056
==========================================
+ Hits 69595 69731 +136
+ Misses 6086 6082 -4
Partials 42 42
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
BeryJu
left a comment
There was a problem hiding this comment.
other than those two things, lgtm
Details
SASL was previously explored here: #13792
What does this PR change?
Add
SASL EXTERNALas an LDAP source service bind method. This means that sync and writeback operatinos can be performed using TLS client cert verification.User verification using a password still depends on
SIMPLEbinds.Why is this change needed?
This is a standard LDAP auth mechanism, which is useful for sync/writeback operations as the existing TLS connection can be reused, rather than needing to rely on a user-level bind with an admin password.
How was this tested?
Checklist
make all)make docs)