+ Post New Thread
Results 1 to 12 of 12
Virtual Learning Platforms Thread, MOODLE LDAP not working after upgrade in Technical; Good Morning all, We've just successfully upgraded moodle to 2.0.2 on our MS Windows Server 2008 and LDAP has stopped ...
  1. #1

    Join Date
    Jul 2007
    Location
    West Sussex
    Posts
    264
    Thank Post
    35
    Thanked 11 Times in 11 Posts
    Rep Power
    16

    Question MOODLE LDAP not working after upgrade

    Good Morning all,

    We've just successfully upgraded moodle to 2.0.2 on our MS Windows Server 2008 and LDAP has stopped working :-(
    At first I thought I'd solved it because it had been disabled in the authentication settings (upgrade must of caused it?).
    I enabled it and then tried to login again with no luck.
    The LDAP settings all appear to be there so I can't understand what the issue could be?

    Has anyone had a similar issue? If so how did you solve it?

    Any advice/help appreciated.

    Many thanks

  2. #2

    Join Date
    Jul 2007
    Location
    West Sussex
    Posts
    264
    Thank Post
    35
    Thanked 11 Times in 11 Posts
    Rep Power
    16
    Any ideas??? I'm tearing what little hair I have left out here!

    I've been through and checked/changed/changed back all the LDAP settings in moodle with no luck.
    At the same time we upgraded php and I've checked and LDAP is enabled there.

    All I get is the incorrect password message on the login screen.

    It was all working fine for the 2 years before running this upgrade to 2.0.2!?!?!

  3. #3

    Join Date
    Dec 2005
    Posts
    524
    Thank Post
    34
    Thanked 87 Times in 77 Posts
    Rep Power
    39
    Any server log files showing auth errors?

    (I'm running ubuntu/windows2000/ldap so probably cant help a great deal)

  4. #4

    Join Date
    Jul 2007
    Location
    West Sussex
    Posts
    264
    Thank Post
    35
    Thanked 11 Times in 11 Posts
    Rep Power
    16
    Which logs should I check (sorry brain not functioning at the mo..)

  5. #5


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,687
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    Webserver logs, are you using apache or iis?

  6. #6

    Join Date
    Jul 2007
    Location
    West Sussex
    Posts
    264
    Thank Post
    35
    Thanked 11 Times in 11 Posts
    Rep Power
    16
    I'm using iis7
    Last edited by IT_Man_Dan; 24th February 2011 at 12:42 PM.

  7. #7

    Join Date
    Jul 2007
    Location
    West Sussex
    Posts
    264
    Thank Post
    35
    Thanked 11 Times in 11 Posts
    Rep Power
    16
    Quick update:

    Ok, I've added a new user to AD and tried to login to it in moodle, worked perfectly....

    So my problem is with users that have already logged onto moodle before the upgrade.
    Is there any files I should of changed during the upgrade process regarding existing users?

    Thanks
    Dan

  8. #8

    Join Date
    Jul 2007
    Location
    West Sussex
    Posts
    264
    Thank Post
    35
    Thanked 11 Times in 11 Posts
    Rep Power
    16
    We have tried deleting a user in moodle and then it lets us login????

  9. #9
    grahamd22's Avatar
    Join Date
    Aug 2007
    Location
    Wallington, Surrey
    Posts
    69
    Thank Post
    11
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Hi there to add to this we now can create new users and delete them, also if we delete a current user they can log back into moodle fine.

    So for a long shot we thought okay we will delete all users as it looks like their passwords have been lost and tried to bulk delete but it throws up the error 'Authentication plugin ldapcapture not found.' and I'm not too overly keen to go through and delete every user 1 by 1 when there are 996 users !!

  10. #10


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,687
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    It's something as crazy as the account in moodle is set to a different auth type than ldap?

  11. #11

    Join Date
    Jul 2007
    Location
    West Sussex
    Posts
    264
    Thank Post
    35
    Thanked 11 Times in 11 Posts
    Rep Power
    16
    Moodle is set to auth using LDAP, with regards to each user. Until you've deleted them and re logged in you can't even get in to edit them.

    It just says

    Sorry the service is unavailable.

    Once deleted and gone back in the user is recreated and you can edit them.

    It's soo frustrating!

  12. #12


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,687
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    Oh hang on I read ldap capture up there, that's an addon module (certainly in 1.9 days....).

    What did you upgrade FROM to 2.0.2 ? (have you got a copy of the ldap capture module installed ... I don't see one for 2.0 but then I've not used 2.0)

    It's different to the normal ldap auth module (again, certainly in 1.9 days)

SHARE:
+ Post New Thread

Similar Threads

  1. Moodle - Ldap Module not working
    By ceebster in forum Virtual Learning Platforms
    Replies: 7
    Last Post: 23rd August 2010, 07:13 AM
  2. Moodle LDAP authentication stopped working for new users?
    By reggiep in forum Virtual Learning Platforms
    Replies: 2
    Last Post: 5th January 2010, 08:33 PM
  3. mrbs 1.4.1 not working with ldap
    By walkden-high in forum Windows Server 2000/2003
    Replies: 4
    Last Post: 30th May 2009, 01:24 PM
  4. Moodle LDAP not working :(
    By FN-GM in forum Virtual Learning Platforms
    Replies: 9
    Last Post: 22nd April 2009, 09:09 AM
  5. Moodle and LDAP
    By GrumbleDook in forum Virtual Learning Platforms
    Replies: 10
    Last Post: 28th March 2007, 04:02 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •