Moodle

strtolower()

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.5.2
  • Fix Version/s: None
  • Component/s: Authentication
  • Labels:
    None
  • Environment:
    All
  • Affected Branches:
    MOODLE_15_STABLE

Description

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]

Issue Links

Activity

Hide
Martin Dougiamas added a comment -

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.

Show
Martin Dougiamas added a comment - 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.
Hide
Michael Blake added a comment -

assign to a valid user

Show
Michael Blake added a comment - assign to a valid user

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: