+ Post New Thread
Results 1 to 11 of 11
Virtual Learning Platforms Thread, Moodle LDAP authentication in Technical; Hi I have configured moodle to use LDAP authentication, works fine for the OU I specified for course creators but ...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    13,889
    Blog Entries
    8
    Thank Post
    728
    Thanked 1,367 Times in 1,197 Posts
    Rep Power
    362

    Moodle LDAP authentication

    Hi

    I have configured moodle to use LDAP authentication, works fine for the OU I specified for course creators but not standard users. it says "Invalid login, please try again".

    I followed these instructions: LDAP authentication - MoodleDocs

    Im not sure why to be honest, please can someone help?

    Thanks

  2. IDG Tech News
  3. #2
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,732
    Blog Entries
    1
    Thank Post
    107
    Thanked 542 Times in 476 Posts
    Rep Power
    134
    Can you post your settings?

  4. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    13,889
    Blog Entries
    8
    Thank Post
    728
    Thanked 1,367 Times in 1,197 Posts
    Rep Power
    362
    Yep no problem, i thought it might have been a permissions.

    Thanks

    Z
    Last edited by FN-GM; 25th June 2008 at 02:47 PM.

  5. #4
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,732
    Blog Entries
    1
    Thank Post
    107
    Thanked 542 Times in 476 Posts
    Rep Power
    134
    Are all your users in the 'school users' OU or below it?
    You should set your 'User Attribute' to 'sAMAccountName' unless your cn entries match?

  6. Thanks to Geoff from:

    FN-GM (23rd May 2008)

  7. #5

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    13,889
    Blog Entries
    8
    Thank Post
    728
    Thanked 1,367 Times in 1,197 Posts
    Rep Power
    362
    Are all your users in the 'school users' OU or below it?
    Yes

    You should set your 'User Attribute' to 'sAMAccountName' unless your cn entries match
    Ok so in the text feild i put in "sAMAccountName"? - I have done that and it works fine!

    Thanks alot

    Z

  8. #6
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,732
    Blog Entries
    1
    Thank Post
    107
    Thanked 542 Times in 476 Posts
    Rep Power
    134
    No problems. Do you need help with any of the other bits (the group or field mapping for example?)

  9. #7

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    13,889
    Blog Entries
    8
    Thank Post
    728
    Thanked 1,367 Times in 1,197 Posts
    Rep Power
    362
    Yes field mapping would be good, not sure what you mean abouts groups though. I'm not sure how to do the field mapping.

    Im not a moodle expert so you help is appreciated.

    Thanks

    Z

  10. #8


    Join Date
    Jan 2006
    Posts
    7,764
    Thank Post
    422
    Thanked 961 Times in 747 Posts
    Rep Power
    307
    Quote Originally Posted by FN-Greatermanchester View Post
    Yes field mapping would be good, not sure what you mean abouts groups though. I'm not sure how to do the field mapping.

    Im not a moodle expert so you help is appreciated.

    Thanks

    Z

    It basically means mapping attributes that are already in your ldap to the moodle - for example, to display the users lastname in moodle you map the 'sn' attribute in the ldap. to display to email address you map the 'mail' attribute. you can add others such as address etc if needed. We map a custom 'employeeID' to a field in moodle - this is referenced against SIMS so that SIMS courses get imported

  11. Thanks to CyberNerd from:

    FN-GM (23rd May 2008)

  12. #9

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    13,889
    Blog Entries
    8
    Thank Post
    728
    Thanked 1,367 Times in 1,197 Posts
    Rep Power
    362
    Thanks mate

  13. #10

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,031
    Thank Post
    209
    Thanked 425 Times in 306 Posts
    Rep Power
    140
    Download LDAP browser from Softterra, (bottom of the page, free program) Softerra LDAP Administrator & Browser: Directory Management Tool Download

    You can then look at all of a users properties in a proper view that's compatible with LDAP and it tells you all the field names as well. Also really useful for specifying the correct OU in the LDAP language, as you can copy it straight out of the program. Very useful tool when you're doing things with LDAP.

    Mike.

  14. Thanks to maniac from:

    FN-GM (25th May 2008)

  15. #11

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    13,889
    Blog Entries
    8
    Thank Post
    728
    Thanked 1,367 Times in 1,197 Posts
    Rep Power
    362
    Thanks that is handy

SHARE:
+ Post New Thread

Similar Threads

  1. Moodle LDAP integration
    By zag in forum Virtual Learning Platforms
    Replies: 4
    Last Post: 13th March 2008, 03:03 PM
  2. Moodle and LDAP
    By GrumbleDook in forum Virtual Learning Platforms
    Replies: 10
    Last Post: 28th March 2007, 04:02 PM
  3. e107 - LDAP authentication
    By alan-d in forum Web Development
    Replies: 11
    Last Post: 28th February 2007, 06:21 PM
  4. MediaWiki LDAP AD authentication
    By plexer in forum How do you do....it?
    Replies: 7
    Last Post: 22nd February 2007, 08:54 AM
  5. Moodle LDAP Enrolment
    By Mike_R in forum Virtual Learning Platforms
    Replies: 2
    Last Post: 6th December 2006, 02:33 PM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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