Jump to content

Recommended Posts

Posted

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

 

http://img120.imageshack.us/img120/4771/image1kt5.jpg

 

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.

 

http://img233.imageshack.us/img233/8017/image2qn3.jpg

Posted

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.

Posted (edited)

EDIT: nevermind worked it out

 

in the distringuised name I put the users email address.

 

[email protected]

 

and in the context i put

 

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 :)

Edited by zag
Posted

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.

  • Thanks 2

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...