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
Describe the feature
Add the ability to bind to LDAP with user's credentials, for situations where neither anonymous bind allowed nor a dedicated LDAP bind user is available.
Describe the solution you'd like
Add the %p wildcard to "Bind Password" in LDAP BindDN (similar to %s for the username) to pass the user-entered password to bind to LDAP.
Describe alternatives you've considered
I've not been able to get Gogs to connect to LDAP for our AD domain. The admins won't allow anonymous bind nor create a dedicated bind user, so I patched Gogs to pass through the user's password for use in binding to LDAP
Additional context
diff of internal/auth/ldap/config.go below:
Describe the feature
Add the ability to bind to LDAP with user's credentials, for situations where neither anonymous bind allowed nor a dedicated LDAP bind user is available.
Describe the solution you'd like
Add the %p wildcard to "Bind Password" in LDAP BindDN (similar to %s for the username) to pass the user-entered password to bind to LDAP.
Describe alternatives you've considered
I've not been able to get Gogs to connect to LDAP for our AD domain. The admins won't allow anonymous bind nor create a dedicated bind user, so I patched Gogs to pass through the user's password for use in binding to LDAP
Additional context
diff of internal/auth/ldap/config.go below:
The text was updated successfully, but these errors were encountered: