You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] LDAP connection with certificate/key? #499
Is your feature request related to a problem? Please describe.
Currently, only option to connect to LDAP seems to be by using password/username. It should be possible authenticate to external LDAP server by using client certificate (using certificate and key).
Describe the solution you'd like
Add possibility to use client certificate authentication.
Describe alternatives you've considered
I tried to connect to Google LDAP service using password/username, but apparently it is not working as expected and it's not really a recommended way either.
Additional context
Ldap library already should have support for this, by using DialURL method:
Activity
plaes commentedon Dec 9, 2025
I have a WIP branch with certificate loading and connection initialization basically implemented.
But, I'm not sure whetherldap.Bind("","")in LDAP library actually supports the mTLS usecase, as it fails with:Apparently I need to use
ExternalBind(). And it works!plaes commentedon Dec 10, 2025
Initial implementation is now ready for review at #509
steveiliop56 commentedon Dec 31, 2025
Implemented in #509. Thank you @plaes