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

LDAP SSO NTLM on Apache

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.9, 2.0
    • Fix Version/s: 2.4
    • Component/s: Authentication
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE

      Description

      To make SSO work on our site, we've had to patch the followinge line on auth/ldap/auth.php:

      from
      $username = substr(strrchr($username, '
      '), 1); //strip domain info

      to
      $username = substr(strrchr($username, '+'), 1); //strip domain info

      Is this something that could be configured via an admin gui, rather than patching the code?

      Thanks
      Michael

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iarenaza Iñaki Arenaza
              Reporter:
              mcwoods Michael Woods
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/12