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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

          Attachments

            Activity

            Hide
            dougiamas Martin Dougiamas added a comment -

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

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

            fixed in cvs, thanks|

            Show
            skodak 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:
                  Fix Release Date:
                  31/Mar/07