+ Post New Thread
Results 1 to 9 of 9
Virtual Learning Platforms Thread, Moodle LDAP Settings on CC3 in Technical; Hi, I'm trying to set up moodle to authenticate against active directory but I'm having trouble finding what settings I ...
  1. #1

    Join Date
    Jun 2009
    Posts
    5
    Thank Post
    5
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Moodle LDAP Settings on CC3

    Hi,

    I'm trying to set up moodle to authenticate against active directory but I'm having trouble finding what settings I should be using.

    We use a CC3 network - I've checked the previous posts & googled but no joy!

    I've read a bit about ldp.exe - would that be of use?

    I'm completely new to LDAP so any help is much appreciated!

    Ed

  2. #2

    TechMonkey's Avatar
    Join Date
    Dec 2005
    Location
    South East
    Posts
    3,336
    Thank Post
    227
    Thanked 433 Times in 315 Posts
    Rep Power
    172
    What settings are you having problems with?

    Contexts are: OU=Teaching Staff, OU=XXX,OU=Establishments,DC=YYY,DC=INTERNAL; OU=Non-Teaching Staff, OU=XXX,OU=Establishments,DC=YYY,DC=INTERNAL; OU=System Administrators, OU=XXX,OU=Establishments,DC=YYY,DC=INTERNAL;

    Where XXX is the 3 letter code and YYY is your domain. Beyond that I think everything is standard.

  3. Thanks to TechMonkey from:

    emdudley (16th June 2009)

  4. #3

    Join Date
    Jun 2009
    Posts
    5
    Thank Post
    5
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks for the quick reply!

    My settings currently are:

    Host URL: ldap://IP/
    Bind User Distinguised Name: cn=moodle,OU=Users,OU=YYY,OU=INTERNAL
    and contexts are set as per your reply.

    (where IP is the IP address of the root server, YYY is the domain)

    I created the user moodle in active directory (behind all the RM stuff) - do I need to set up anything for this user except for the password?

    The error I get is:
    LDAP-module cannot connect to any servers: Server: 'ldap://IP/' Connection: 'Resource id #51' Bind result: ''

    Thanks again!

  5. #4
    rpwillis's Avatar
    Join Date
    Aug 2007
    Location
    SalamanderSoft Ltd
    Posts
    183
    Thank Post
    53
    Thanked 66 Times in 52 Posts
    Rep Power
    27
    Try

    Host URL: LDAP://IP/

    The ldap word should be in upper case.

    Richard

    http://blog.salamandersoft.co.uk

  6. Thanks to rpwillis from:

    emdudley (16th June 2009)

  7. #5

    Join Date
    Jun 2009
    Posts
    5
    Thank Post
    5
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Just tried capital LDAP but I still get the same error.

    Any more ideas?

    Thanks again!

  8. #6

    TechMonkey's Avatar
    Join Date
    Dec 2005
    Location
    South East
    Posts
    3,336
    Thank Post
    227
    Thanked 433 Times in 315 Posts
    Rep Power
    172
    I only have the Bind user name on it's own. The box is just labelled "Distinguished Name" & I only hve the name no context and that seems to work. I have the username in the same place.

  9. Thanks to TechMonkey from:

    emdudley (16th June 2009)

  10. #7


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,706
    Thank Post
    354
    Thanked 807 Times in 722 Posts
    Rep Power
    348
    Bind User Distinguised Name: cn=moodle,OU=Users,OU=YYY,OU=INTERNAL
    Hi there,

    OU=YYY,OU=INTERNAL should be DC not OU in my experience.

    From memory I was able to just use OU=Establishments,DC=YYY,DC=INTERNAL with sub context searching enabled.

  11. Thanks to kmount from:

    emdudley (16th June 2009)

  12. #8

    TechMonkey's Avatar
    Join Date
    Dec 2005
    Location
    South East
    Posts
    3,336
    Thank Post
    227
    Thanked 433 Times in 315 Posts
    Rep Power
    172
    Quote Originally Posted by kmount View Post
    Hi there,

    OU=YYY,OU=INTERNAL should be DC not OU in my experience.

    From memory I was able to just use OU=Establishments,DC=YYY,DC=INTERNAL with sub context searching enabled.
    Well spotted that man.

    Yep that works as well, I used what I put just to tighten it up.

  13. Thanks to TechMonkey from:

    emdudley (16th June 2009)

  14. #9

    Join Date
    Jun 2009
    Posts
    5
    Thank Post
    5
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Smile

    Got it working using a combination of the above suggestions!!

    Thank you everyone!



SHARE:
+ Post New Thread

Similar Threads

  1. RM CC3 and LDAP
    By Jona in forum Network and Classroom Management
    Replies: 5
    Last Post: 15th February 2010, 04:59 PM
  2. Moodle LDAP not working :(
    By FN-GM in forum Virtual Learning Platforms
    Replies: 9
    Last Post: 22nd April 2009, 10:09 AM
  3. Moodle and LDAP
    By ahunter in forum Virtual Learning Platforms
    Replies: 6
    Last Post: 31st October 2008, 12:12 PM
  4. Moodle LDAP
    By zag in forum Virtual Learning Platforms
    Replies: 6
    Last Post: 17th July 2008, 11:12 AM
  5. Moodle and LDAP
    By GrumbleDook in forum Virtual Learning Platforms
    Replies: 10
    Last Post: 28th March 2007, 05: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
  •