FN-GM Posted May 29, 2013 Posted May 29, 2013 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:/// - 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:///', 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
FN-GM Posted May 29, 2013 Author Posted May 29, 2013 Done a little more digging in PHP Info under Protocols LDAPS is missing. Will do some googling
Marci Posted May 29, 2013 Posted May 29, 2013 try appending the port onto it... ldaps://: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...?
3s-gtech Posted May 29, 2013 Posted May 29, 2013 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.
FN-GM Posted May 29, 2013 Author Posted May 29, 2013 try appending the port onto it... ldaps://: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
penfold_99 Posted June 11, 2013 Posted June 11, 2013 Does the same thing Is your web server running Linux or Windows?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now