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

LDAP authentication completely broken

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.8.3, 1.9
    • Component/s: Authentication
    • Labels:
      None
    • Environment:
      Windowks installer package, win2k3
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      Over xmas, I think after a CVS update I did before leaving, LDAP authentication stopped working completely.

      From the error log:

      [Mon Jan 07 09:51:56 2008] [error] [client 192.168.3.44] File does not exist: E:/Moodle_webserver/moodle/login/ad, referer: https://www.mymoodle.com/login/index.php

      I can't find a reference to that address in index.php, although I'm still looking. This has locked out almost all users and I really need a fix!

        Gliffy Diagrams

          Activity

          Hide
          mattgibson Matt Gibson added a comment -

          To clarify, the error on screen is

          LDAP-module cannot connect to any servers:

          and the error above only appears after pressing continue and finding the page saying object not found. No settings have changed since before,when it was working (I think - maybe someone else did?), and it I've narrowed it down to a failure to bind using the username and pass in ldap_connect().

          Show
          mattgibson Matt Gibson added a comment - To clarify, the error on screen is LDAP-module cannot connect to any servers: and the error above only appears after pressing continue and finding the page saying object not found. No settings have changed since before,when it was working (I think - maybe someone else did?), and it I've narrowed it down to a failure to bind using the username and pass in ldap_connect().
          Hide
          mattgibson Matt Gibson added a comment -

          Update: My IT guys had changed the LDAP bind password, then forgot they'd done it and told me they hadn't.

          The error about login/ad is still a bug though, so this needs to re-titled to 'continue button broken after failure to connect to LDAP server'

          also downgrade from blocker please

          Show
          mattgibson Matt Gibson added a comment - Update: My IT guys had changed the LDAP bind password, then forgot they'd done it and told me they hadn't. The error about login/ad is still a bug though, so this needs to re-titled to 'continue button broken after failure to connect to LDAP server' also downgrade from blocker please
          Hide
          iarenaza Iñaki Arenaza added a comment -

          Fixed in CVS. Thanks for the report!

          Saludos. Iñaki.

          Show
          iarenaza Iñaki Arenaza added a comment - Fixed in CVS. Thanks for the report! Saludos. Iñaki.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Oct/07