+ 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
    Brisbane, Australia
    Posts
    11,186
    Blog Entries
    3
    Thank Post
    537
    Thanked 924 Times in 835 Posts
    Rep Power
    196

    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. #2
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    10,963
    Blog Entries
    1
    Thank Post
    104
    Thanked 422 Times in 365 Posts
    Rep Power
    109
    Can you post your settings?

  3. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    Brisbane, Australia
    Posts
    11,186
    Blog Entries
    3
    Thank Post
    537
    Thanked 924 Times in 835 Posts
    Rep Power
    196
    Yep no problem, i thought it might have been a permissions.

    Thanks

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

  4. #4
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    10,963
    Blog Entries
    1
    Thank Post
    104
    Thanked 422 Times in 365 Posts
    Rep Power
    109
    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?

  5. Thanks to Geoff from:

    FN-GM (23rd May 2008)

  6. #5

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    Brisbane, Australia
    Posts
    11,186
    Blog Entries
    3
    Thank Post
    537
    Thanked 924 Times in 835 Posts
    Rep Power
    196
    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

  7. #6
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    10,963
    Blog Entries
    1
    Thank Post
    104
    Thanked 422 Times in 365 Posts
    Rep Power
    109
    No problems. Do you need help with any of the other bits (the group or field mapping for example?)

  8. #7

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    Brisbane, Australia
    Posts
    11,186
    Blog Entries
    3
    Thank Post
    537
    Thanked 924 Times in 835 Posts
    Rep Power
    196
    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

  9. #8


    Join Date
    Jan 2006
    Posts
    5,990
    Thank Post
    290
    Thanked 645 Times in 480 Posts
    Rep Power
    162
    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

  10. Thanks to CyberNerd from:

    FN-GM (23rd May 2008)

  11. #9

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    Brisbane, Australia
    Posts
    11,186
    Blog Entries
    3
    Thank Post
    537
    Thanked 924 Times in 835 Posts
    Rep Power
    196
    Thanks mate

  12. #10

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,003
    Thank Post
    192
    Thanked 413 Times in 300 Posts
    Rep Power
    136
    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.

  13. Thanks to maniac from:

    FN-GM (25th May 2008)

  14. #11

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    Brisbane, Australia
    Posts
    11,186
    Blog Entries
    3
    Thank Post
    537
    Thanked 924 Times in 835 Posts
    Rep Power
    196
    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, 04:03 PM
  2. Moodle and LDAP
    By GrumbleDook in forum Virtual Learning Platforms
    Replies: 10
    Last Post: 28th March 2007, 05:02 PM
  3. e107 - LDAP authentication
    By alan-d in forum Web Development
    Replies: 11
    Last Post: 28th February 2007, 07:21 PM
  4. MediaWiki LDAP AD authentication
    By plexer in forum How do you do....it?
    Replies: 7
    Last Post: 22nd February 2007, 09:54 AM
  5. Moodle LDAP Enrolment
    By Mike_R in forum Virtual Learning Platforms
    Replies: 2
    Last Post: 6th December 2006, 03: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
  •