operasoftware / dns-ui

Opera's LDAP-authenticated PowerDNS user interface
Apache License 2.0
283 stars 57 forks source link

optionally allow case-insensitive user names #152

Closed uedvt359 closed 5 years ago

uedvt359 commented 5 years ago

Here comes PR 2 of 3! Again, we're happy to make any changes suggested in order to get our patches merged. Any feedback is welcome!

Commit Message

Case sensitive user names can be a problem in certain Active Directory environments. With this patch, user names (e.g. LDAP common names) may be compared case insensitively by setting the configuration value [authentication]user_case_sensitive to 0. Note that this affects all login methods, not just LDAP.

Notes

This obsoletes / closes PR #150, which was opened just last week, but appears to not work with LDAP backends and modifies files (user.php) unnecessarily.