Skip to content

Faulty LDAP DN name escaping removed

Ramya Authappan requested to merge github/fork/MichaelAlt/patch-1 into master

Created by: MichaelAlt

The Net::LDAP::Filter.escape function can not be used to escape the DN name because the backslash is required to escape special chars in the DN name. This leads to the error message "Access denied for your LDAP account." and prevents the user from logging in to gitlab.

Example DN: CN=Test, User,OU=Organization,DC=Company CN=Test User,OU=Organization,DC=Company

http://www.ietf.org/rfc/rfc4514.txt

Merge request reports

Loading