MediaWiki + LDAP

I recently setup a Docker-ized Active Directory server on my home network to support single sign-on for a few other applications that I host for myself. By far the trickiest was MediaWiki, which my family uses as a digital recipe book. It's really handy to be able to search for things when we don't remember where we got a recipe from. We also keep a couple of old tablets in the kitchen to access the wiki from, which saves wear and tear on the paper versions of our favorite recipes.


 I also made some minimalist tablet stands from some spare plywood and stained and polyurethaned them to be relatively attractive and durable, especially since they're operating in a messy, oily environment.


But the main challenge was the LDAP integration with Mediawiki.  There are several sources out there that each get part of the way there, but nothing that is a turnkey solution.

I've created a GitHub repository here for the incantations that create a LDAP-enabled MediaWiki Docker image and then run and configure the Docker container to use LDAP login.