This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Duplicate
FS#1725 LDAP Authentication is case insensitive and mess-up all name sensitive features
ACL & Authentication
2009-07-02brainkiller
When the LDAP authentication module is used (with Active Directory in my case), the user can input his name in any case: "FooBar", "foobar", "FOObar", "FooBAR". He is correctly authenticated but some features are not working correctly if he enters with different versions of his username:
- notifications
- ACL with username
- history (cosmetic only for this one)
My temporary solution was to add a "$user = strtolower($user);" in function auth_login of auth.php:
if(!empty($user)){
$user = strtolower($user);
//usual login
if ($auth->checkPass($user,$pass)){
A real solution could be to make the auth modules return the real username to use. That way the LDAP auth module could return the real username from the LDAP with the right case and everything will work correctly.