Added configuration options and code for optional LDAP functionality to look up user's DN - search for user's DN based on a filter rather than assuming the DN by format string. This allows the administrator to configure a lookup user and search filter to find the authenticating user's DN based on alternate attributes (such as mail), and then authenticate the user.
Discussion and comments can be found on pull request 299: https://pagure.io/ipsilon/pull-request/299. Recommendations were implemented from this conversation in this pull request.
Signed-off-by: Kendal Montgomery kmontgomery@cbuscollaboratory.com
Added configuration options and code for optional LDAP functionality to look up user's DN - search for user's DN based on a filter rather than assuming the DN by format string. This allows the administrator to configure a lookup user and search filter to find the authenticating user's DN based on alternate attributes (such as mail), and then authenticate the user.
Discussion and comments can be found on pull request 299: https://pagure.io/ipsilon/pull-request/299. Recommendations were implemented from this conversation in this pull request.