Jump to content

Recommended Posts

Posted

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

Posted

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?

  • Thanks 1
Posted
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

Posted

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

Posted
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 ;)

  • Thanks 1
Posted

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.

  • Thanks 1

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...