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

syntax error in auth/ldap/lib.php

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: None
    • Component/s: Authentication
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_15_STABLE

      Description

      in auth_user_activate():

      diff -rbu moodle-1.5/auth/ldap/lib.php moodle-1.5.orig/auth/ldap/lib.php

      — moodle-1.5/auth/ldap/lib.php 2005-06-21 15:01:35.000000000 +0200

      +++ moodle-1.5.orig/auth/ldap/lib.php 2005-06-06 07:18:23.000000000 +0200

      @@ -711,7 +711,7 @@

      switch ($CFG->ldap_user_type)

      { case 'edir': $newinfo['loginDisabled']=FALSE; - default: + default; error ('auth: ldap auth_user_activate() does not support selected usertype (..yet)'); }

      $result = ldap_modify($ldapconnection, $userdn, $newinfo);

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: