LDAP authentication and Moodle

20 02 2008

moodle1.png openldap.png

I now have the Moodle server authenticating users against our Windows 2003 domain controller, and things are working great. The bind settings were a bit tricky because we have teachers, students and staff in different OUs, but thankfully Moodle allows users to define more than one OU, as well as search through subcontexts.


Other LAMP/WAMP systems rarely offer this sort of flexibility in their configuration options and require some tweaking of the PHP code to get it to work properly. Moodle has a decent tutorial on their site discussing the configuration necessary to configure LDAP authentication in Moodle if you want more information.

Now, when users log in for the first time, profile information is automatically populated by the user data in Active Directory. Users only need to fill in a few missing pieces of data and are ready to use Moodle. Using LDAP helps in 2 ways:

  1. It helps to reduce the number of different login credentials that users must keep track of.
  2. It helps to reduce the likelihood of garbage data and spelling errors ending up in Moodle user profiles.

All in all, it was relatively easy. If you need help working through the steps, let me know.





4 responses

18 03 2009


I am working as a network manager at Eastern University Srilanaka. i cam install a linux boox with moodle. i have a problem with moodle to authenticate against windows. When i tried to authenticate only users belongs to User builtin grop.

I am unable to authenticate other OU as we have hierarchy of OF for staffs and students.

Could you please let me know how to configure this.

Thank you

14 07 2009
Jason Willis

I work for a K – 8 district and we are having a problem when trying to get Moodle to bind with AD. IS there anything you can do to help us??

20 07 2010

i want to integrate the moodle with typo3 cms.can any one please guide me?

27 11 2010

Is search engine optimisation one thing for you personally?

Just like lots of other people you may have heard the phrase search engine marketing, but specifically what does it necessarily mean and is it one thing that can be practical for ones firm or even a website?

Search engine optimisation is definitely an other word for for Seo. This procedure is utilised for that promotion of over the internet company. On this course of action, the internet web page is structured in these a way to ensure that it may possibly be simply and easily accessed, go through and indexed by the various search engines seen at seo hints
. If the marketer follows some hassle-free and effortless measures, he is able to achieve on-line existence and popularity for that company’s internet site.

The seo allows a online marketer to advertise the website with the firm in excess of the web. Within this method, the material of your web page must be keyword-rich to ensure its relevance is acknowledged by the spiders as well as articles will be quickly indexed. The keyword-rich subject material can turn out to be quickly available for that goal shoppers. An entrepreneur ought to primary exploration and research the form of key words which match with all the information of your internet web page. These search phrases and phrases should really intently relate towards the company of an group. For example, should you be operating a home business of IT remedies, you must put into action these keywords and phrases that ideal describe your product or service or seo small business.

You would like to get the meta data with your website to optimize your website inside a good method. Meta tags includes of title, description and key words. Header title will be the primary tag. You could incorporate key phrases within this title tag. Search spiders and robots crawl the information of your seo net pages and give relevance to individuals title tags that are key phrase wealthy. Usually do not things the phrases or phrases unnecessarily in any other case you might deal with the danger of one’s complete articles getting thought to be a Fake. The Description Tag may be a form of Meta tag that describes the topic of the blog like seo tips. Meta key terms are implemented to get your all key words within this. These would be the most lower precedence tags but nonetheless we consist of them. Hence, you may make your internet site available towards the prospective potential customers and obtain on-line presence by subsequent the correct search engine marketing procedures.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: