+ Post New Thread
Results 1 to 6 of 6
Virtual Learning Platforms Thread, LDAPS wit Moodle. in Technical; Hi, I am using LDAP here with no issues, I want to use LDAPS instead now. I have got all ...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,383
    Thank Post
    797
    Thanked 1,585 Times in 1,388 Posts
    Blog Entries
    10
    Rep Power
    427

    LDAPS wit Moodle.

    Hi,

    I am using LDAP here with no issues, I want to use LDAPS instead now. I have got all this working. I have an internal CA and i can connect to LDAP using LDAPS from my VLE server to my domain controllers using Apache Directory Studio. So we know that Active directory is setup fine and ports are open.

    In Moodle I have put this into the LDAP Host URL ldaps://<LDAP Server>/ - When i try to login to Moodle using an LDAP account I get the following error. LDAP-module cannot connect to any servers: Server: 'ldaps://<LDAP Server>/', Connection: 'Resource id #62', Bind result:. When I reverted back to LDAP from LDAPS all works again.

    I am not sure where to go from here, although i do have a feeling its do with Moodle or PHP or something not trusting my CA.

    This is my Setup

    Domain Controllers - Windows Server 2012
    VLE Server - Windows Server 2012, PHP 5.4, Moodle 2.4.4. (This server is not joined to the domain)

    I did install the Root Certificate from my CA into the trusted root certificates on my VLE Server, this didn't help.

    Any ideas please?

    Thanks

  2. #2

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,383
    Thank Post
    797
    Thanked 1,585 Times in 1,388 Posts
    Blog Entries
    10
    Rep Power
    427
    Done a little more digging in PHP Info under Protocols LDAPS is missing. Will do some googling

  3. #3
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    842
    Thank Post
    76
    Thanked 225 Times in 185 Posts
    Rep Power
    80
    try appending the port onto it... ldaps://<server>:636 (or whatever it should be, can't recall offhand)
    LDAPS should compile into PHP when you compiled it for LDAP. S'just part of OpenLDAP I thought...?

  4. #4

    3s-gtech's Avatar
    Join Date
    Mar 2009
    Location
    Wales
    Posts
    2,484
    Thank Post
    133
    Thanked 488 Times in 436 Posts
    Rep Power
    138
    Will keep an eye on this - we want to use LDAPS with Moodle soon. Currently not even using LDAP as it's on the LEA's webservers and they haven't opened the ports, but working on it.

  5. #5

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,383
    Thank Post
    797
    Thanked 1,585 Times in 1,388 Posts
    Blog Entries
    10
    Rep Power
    427
    Quote Originally Posted by Marci View Post
    try appending the port onto it... ldaps://<server>:636 (or whatever it should be, can't recall offhand)
    LDAPS should compile into PHP when you compiled it for LDAP. S'just part of OpenLDAP I thought...?
    Does the same thing

  6. #6
    penfold_99's Avatar
    Join Date
    Feb 2008
    Location
    East Sussex
    Posts
    896
    Thank Post
    54
    Thanked 152 Times in 105 Posts
    Rep Power
    65
    Quote Originally Posted by FN-GM View Post
    Does the same thing
    Is your web server running Linux or Windows?

SHARE:
+ Post New Thread

Similar Threads

  1. moodle ldap default values if not set by AD
    By russdev in forum Virtual Learning Platforms
    Replies: 12
    Last Post: 8th June 2010, 11:46 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
  •