Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-6704

Missing encoding checks /auth/ldap/lib.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.4, 1.6.2, 1.6.3, 1.7
    • Fix Version/s: 1.8, 1.9
    • Component/s: Authentication
    • Labels:
      None
    • Environment:
      MS-AD, PHP 5.1.2, MySQL 5.0.24 latin charset
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_15_STABLE, MOODLE_16_STABLE, MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      When using latin charset database some functions in /auth/ldap/lib.php are missing proper
      encoding checks and conversions if necessary. This will cause data loss when syncronizing database
      with LDAP and it disables user accounts when username contains charachters like å, á, é etc...
      Functions missing checks:

      • auth_sync_users
      • auth_get_userinfo_asobj
      • auth_ldap_update_user_record

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              julmis Janne Mikkonen
              Tester:
              Nobody
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                31/Mar/07