Moodle
  1. Moodle
  2. MDL-9099

LDAP auth does not allow dn in idnumber field (or other user attributes)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8
    • Component/s: Authentication
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      PHP's LDAP functions treat the dn attribute differently than the rest of the attributes so this case has to be handled specifically.

      Attached is a diff that resolves the problem here.

        Gliffy Diagrams

          Activity

          Hide
          Martin Dougiamas added a comment -

          Nic, can you check this in to 1.8 and head please.

          Show
          Martin Dougiamas added a comment - Nic, can you check this in to 1.8 and head please.
          Hide
          Petr Skoda added a comment -

          fixed in cvs, thanks|

          Show
          Petr Skoda added a comment - fixed in cvs, thanks|

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: