FN-GM Posted May 23, 2008 Posted May 23, 2008 Hi I have configured moodle to use LDAP authentication, works fine for the OU I specified for course creators but not standard users. it says "Invalid login, please try again". I followed these instructions: LDAP authentication - MoodleDocs Im not sure why to be honest, please can someone help? Thanks
FN-GM Posted May 23, 2008 Author Posted May 23, 2008 Yep no problem, i thought it might have been a permissions. Thanks Z
Geoff Posted May 23, 2008 Posted May 23, 2008 Are all your users in the 'school users' OU or below it? You should set your 'User Attribute' to 'sAMAccountName' unless your cn entries match? 1
FN-GM Posted May 23, 2008 Author Posted May 23, 2008 Are all your users in the 'school users' OU or below it? Yes You should set your 'User Attribute' to 'sAMAccountName' unless your cn entries match Ok so in the text feild i put in "sAMAccountName"? - I have done that and it works fine! Thanks alot Z
Geoff Posted May 23, 2008 Posted May 23, 2008 No problems. Do you need help with any of the other bits (the group or field mapping for example?)
FN-GM Posted May 23, 2008 Author Posted May 23, 2008 Yes field mapping would be good, not sure what you mean abouts groups though. I'm not sure how to do the field mapping. Im not a moodle expert so you help is appreciated. Thanks Z
CyberNerd Posted May 23, 2008 Posted May 23, 2008 Yes field mapping would be good, not sure what you mean abouts groups though. I'm not sure how to do the field mapping. Im not a moodle expert so you help is appreciated. Thanks Z It basically means mapping attributes that are already in your ldap to the moodle - for example, to display the users lastname in moodle you map the 'sn' attribute in the ldap. to display to email address you map the 'mail' attribute. you can add others such as address etc if needed. We map a custom 'employeeID' to a field in moodle - this is referenced against SIMS so that SIMS courses get imported 1
maniac Posted May 25, 2008 Posted May 25, 2008 Download LDAP browser from Softterra, (bottom of the page, free program) Softerra LDAP Administrator & Browser: Directory Management Tool Download You can then look at all of a users properties in a proper view that's compatible with LDAP and it tells you all the field names as well. Also really useful for specifying the correct OU in the LDAP language, as you can copy it straight out of the program. Very useful tool when you're doing things with LDAP. Mike. 1
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