zag Posted July 16, 2008 Posted July 16, 2008 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
alan-d Posted July 16, 2008 Posted July 16, 2008 Is the path correct for the OU that ldap-user is in?
Jona Posted July 16, 2008 Posted July 16, 2008 Seems like there's a fairly low level connection issue here. There is a thread here on the error which might be helpful: http://moodle.org/mod/forum/discuss.php?d=71186 The error seems to be a bind problem so that would suggest your distinguishing name or password is wrong....? Cheers Jona
strawberry Posted July 16, 2008 Posted July 16, 2008 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.
zag Posted July 16, 2008 Author Posted July 16, 2008 (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 July 16, 2008 by zag
maniac Posted July 16, 2008 Posted July 16, 2008 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. 2
zag Posted July 17, 2008 Author Posted July 17, 2008 Yep thats exactly how I solved my problem, the ldap strings can be confusing to say the least!
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