Issue Details (XML | Word | Printable)

Key: MDL-4261
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Reproduce
Priority: Trivial Trivial
Assignee: Petri Asikainen
Reporter: Imported
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

strtolower()

Created: 02/Nov/05 08:14 PM   Updated: 31/May/08 11:32 PM
Component/s: Authentication
Affects Version/s: 1.5.2
Fix Version/s: None

Environment: All
Issue Links:
Relates
 

Participants: Imported, Martin Dougiamas, Michael Blake and Petri Asikainen
Security Level: None
Affected Branches: MOODLE_15_STABLE


 Description  « Hide
cvs:/auth/ldap/lib.php

In function auth_password_expire () is used strtolower().

But all information is stored in a case sensitive format.

I removed it and it starts to work as I'm expecting.

$info[0][strtolower($CFG->ldap_expireattr)][0]



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Martin Dougiamas added a comment - 16/Nov/05 05:56 PM
From Patrick Li (patrick at catalyst.net.nz) Wednesday, 16 November 2005, 07:06 AM:

We cannot confirm this, pass on to paca.

From Petri Asikainen (paca at sci.fi) Wednesday, 16 November 2005, 05:56 PM:

Some versions of php convert returned attribute names to lowercase or so. Thats why strtolower() is here and there at auth/ldap/lib.php.


Michael Blake added a comment - 24/Aug/06 02:06 PM
assign to a valid user