+ 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
    15,948
    Thank Post
    886
    Thanked 1,697 Times in 1,475 Posts
    Blog Entries
    12
    Rep Power
    447

    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
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Can you post your settings?

  3. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,948
    Thank Post
    886
    Thanked 1,697 Times in 1,475 Posts
    Blog Entries
    12
    Rep Power
    447
    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.

  4. #4

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    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
    UK
    Posts
    15,948
    Thank Post
    886
    Thanked 1,697 Times in 1,475 Posts
    Blog Entries
    12
    Rep Power
    447
    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
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    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
    UK
    Posts
    15,948
    Thank Post
    886
    Thanked 1,697 Times in 1,475 Posts
    Blog Entries
    12
    Rep Power
    447
    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
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    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
    UK
    Posts
    15,948
    Thank Post
    886
    Thanked 1,697 Times in 1,475 Posts
    Blog Entries
    12
    Rep Power
    447
    Thanks mate

  12. #10

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,054
    Thank Post
    209
    Thanked 428 Times in 308 Posts
    Rep Power
    144
    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
    UK
    Posts
    15,948
    Thank Post
    886
    Thanked 1,697 Times in 1,475 Posts
    Blog Entries
    12
    Rep Power
    447
    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
  •