tri_94 Posted May 17, 2011 Posted May 17, 2011 Trying to set up a moodle server using hyper v and would like ldap to work. Can anyone talk us through how we go about this asap Thanks
Butters Posted May 17, 2011 Posted May 17, 2011 LDAP authentication - MoodleDocs If you get stuck on any portion, let us know. It's really easy once you've got holes punched into firewalls to allow them to talk to each other.
tri_94 Posted May 17, 2011 Author Posted May 17, 2011 hi there, tried that one and many others, just seem to not be getting something right... i really need someone that gave give me a idea of what i need. looked at so many forum posts. trying to work out were the issuse lies. being a RM school, we dont really use the AD side of things raw. so CN= DC= OU= we are quiet new to it all.
Butters Posted May 17, 2011 Posted May 17, 2011 Are you getting any error messages at all? I'll need to know more about how RM handles users so could you give me a full distinguished name of a typical user?
tri_94 Posted May 17, 2011 Author Posted May 17, 2011 hi there, right i'll try and explain what i can the AD side of things is setup as folders Schoolname.internal Establishments ABC Students does that answer what you need? if not how do i find out?
penfold_99 Posted May 17, 2011 Posted May 17, 2011 If you have access to adsiedit this will give you all the CNs for OUs and Users.
tri_94 Posted May 18, 2011 Author Posted May 18, 2011 right what i've tried is Host URL: 10.28.x.xx Version 3 LDAP encoding utf-8 Bind settings Hide password: YES Distinguished name CN=rm,OU=System Administrators,OU=CHS,OU=Estabishments,DC=ourdomain,DC=internal User lookup settings User type MS ActiveDirectory Contexts OU=Students,OU=CHS,OU=Establishments,DC=ourdomain,DC=internal and the error i get is, LDAP-module cannot connect to any servers: Server: 'chs-sr-001', Connection: 'Resource id #44', Bind result anyone shed any light on this? thanks nick
Butters Posted May 18, 2011 Posted May 18, 2011 try putting ldap://10.28.x.xx and possibly the default ldap port on the end, so ldap://10.28.x.xx:389
Michael Posted May 18, 2011 Posted May 18, 2011 Don't let it worry you that you're running an RM network. Active Directory is still there running at the core of it, as well as all other critical server services. Active Directory is located in Administrative Tools on the Start Menu. It'll look more 'messy' than a standard Active Directory domain, however once you've worked it out, you should be able to get LDAP working. I would probably recommend installing Moodle on a member server, free of RM's tools to ensure it works correctly, rather than on the DC itself. You could also look into your LA hosting it. LDAP is still possible.
tri_94 Posted May 18, 2011 Author Posted May 18, 2011 tried that Buttlers and still no go.. get the same error
Chris_ Posted May 18, 2011 Posted May 18, 2011 I think I ended up using user@domain.internal for the bind username.
tri_94 Posted May 18, 2011 Author Posted May 18, 2011 hi there, just tried that and still no luck, same error message.
tri_94 Posted May 19, 2011 Author Posted May 19, 2011 please any ideas. i really need to get this working asap.....
Butters Posted May 19, 2011 Posted May 19, 2011 Ther error you are getting is literally saying Moodle can't communicate with AD. Have you punched the necessary holes for the two servers to communicate with each other?
Butters Posted May 19, 2011 Posted May 19, 2011 Without knowing your network setup, I can't help. Basically your internal AD cannot communicate with your Moodle server, suggesting there's a block somewhere in the network or that permissions to access the servers have not been allowed.
tri_94 Posted May 19, 2011 Author Posted May 19, 2011 well the machine with moodle on, is on the domain... and im using a network username and password. also the machine can access the server with the ad, by \\servername. do i need to do anything else?
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