This repository has been archived by the owner on Jan 15, 2019. It is now read-only.
[dev.icinga.com #2080] Use lowercase before doing username comparisons Part2? #577
Labels
Milestone
This issue has been migrated from Redmine: https://dev.icinga.com/issues/2080
Created by silence_le on 2011-11-15 13:00:15 +00:00
Assignee: mhein
Status: Resolved (closed on 2012-01-25 10:48:19 +00:00)
Target Version: 1.6.2
Last Update: 2012-02-14 16:40:35 +00:00 (in Redmine)
Depends on [[#1293]]
I added for the Icinga 1.3.1 the changesets from #1293. But the following occurs:
I have a user with named testTe in my Microsoft Active Directory. Setting up all right, i can do a successfull login with testTe and Password. But in the users settings from icinga-web i can see him imported as testte (lowercase).
If i now login again with testTe i became an Internal Server error. But when i use testte (lowercase) as loginname everthing works as expected. So after Import and successfully first-login i can do only a lowercase login - but some of my Icinga-Web-Users use a case insensitive login name.
I added to
/usr/local/icinga-web/app/modules/AppKit/models/Auth/DispatchModell.class.php
after line 114 (after $this->log....)
$username=strtolower($username);
and i can login with testTe. Don't know if this is the right way.
Changesets
2012-01-25 10:47:41 +00:00 by mhein b6773d9
The text was updated successfully, but these errors were encountered: