+ Post New Thread
Results 1 to 7 of 7
Virtual Learning Platforms Thread, Moodle LDAP in Technical; I'm still struggling to try and authenticate users using LDAP in moodle. I keep getting this error when trying to ...
  1. #1
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,762
    Thank Post
    897
    Thanked 416 Times in 350 Posts
    Blog Entries
    12
    Rep Power
    86

    Moodle LDAP

    I'm still struggling to try and authenticate users using LDAP in moodle. I keep getting this error when trying to log in as a teacher



    Here's my config, any ideas whats wrong? I'm guessing it cant login to the ldap server but no idea how to fix as all the credentials seem correct and I can login using ldap.exe with the username I've created a new user with admin rights called ldap-user.


  2. #2
    alan-d's Avatar
    Join Date
    Aug 2005
    Location
    Sutton Coldfield
    Posts
    2,414
    Thank Post
    359
    Thanked 256 Times in 187 Posts
    Rep Power
    75
    Is the path correct for the OU that ldap-user is in?

  3. #3
    Jona's Avatar
    Join Date
    May 2007
    Location
    Cranleigh
    Posts
    467
    Thank Post
    14
    Thanked 50 Times in 48 Posts
    Rep Power
    23
    Seems like there's a fairly low level connection issue here. There is a thread here on the error which might be helpful: http://moodle.org/mod/forum/discuss.php?d=71186

    The error seems to be a bind problem so that would suggest your distinguishing name or password is wrong....?

    Cheers
    Jona

  4. #4

    Join Date
    Mar 2007
    Posts
    1,753
    Thank Post
    79
    Thanked 288 Times in 219 Posts
    Rep Power
    84
    distringuised name needs to be properly populated, for example
    cn=moodle,ou=system logons,ou=Schoolname,dc=curriculum,dc=local

    cn being the username, ou being the ou's (bottom one first), dc being domain name and domain extension.

    the context should look like this
    ou=schoolname,dc=curriculum,dc=local

    this should be the toplevel ou where your subjects are contrained.

  5. #5
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,762
    Thank Post
    897
    Thanked 416 Times in 350 Posts
    Blog Entries
    12
    Rep Power
    86
    EDIT: nevermind worked it out

    in the distringuised name I put the users email address.

    Code:
    ldap-user@domain.sch.uk
    and in the context i put

    Code:
    ou=InterJigsaw,dc=domain,dc=domain 2nd bit,dc=sch,dc=uk
    Thanks for all the help, all the replies helped me find the solution
    Last edited by zag; 16th July 2008 at 03:47 PM.

  6. #6

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,037
    Thank Post
    209
    Thanked 425 Times in 306 Posts
    Rep Power
    144
    For anyone else struggling with LDAP type problems, I recommend downloading LDAP browser from softterra Softerra LDAP Administrator & Browser: Directory Management Tool Download it lets you browse your active directory using LDAP so you get the view and structure that LDAP programs will see, and the best bit is if you need an LDAP indetification string to address an object, you can copy and paste it out of the program directly into moodle or simelar. Saves a bit of time in writing them yourself and makes sure they're correct!

    Mike.

  7. 2 Thanks to maniac:

    GrumbleDook (16th July 2008), zag (17th July 2008)

  8. #7
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,762
    Thank Post
    897
    Thanked 416 Times in 350 Posts
    Blog Entries
    12
    Rep Power
    86
    Yep thats exactly how I solved my problem, the ldap strings can be confusing to say the least!

SHARE:
+ Post New Thread

Similar Threads

  1. Moodle LDAP authentication
    By FN-GM in forum Virtual Learning Platforms
    Replies: 10
    Last Post: 25th May 2008, 11:58 AM
  2. Moodle LDAP integration
    By zag in forum Virtual Learning Platforms
    Replies: 4
    Last Post: 13th March 2008, 03:03 PM
  3. Moodle and LDAP Security Concerns
    By Optimus in forum How do you do....it?
    Replies: 3
    Last Post: 10th December 2007, 06:28 PM
  4. Moodle and LDAP
    By GrumbleDook in forum Virtual Learning Platforms
    Replies: 10
    Last Post: 28th March 2007, 04:02 PM
  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
  •