Mediawiki with Apache based LDAP authentication and some other extensions.
Based on the official Mediawiki container.
Service | Stats |
---|---|
Docker | |
GitHub |
Topic | Description |
---|---|
Image | See Docker Hub. |
Source | See GitHub. |
docker pull bbtsoftwareag/docker-mediawiki-ldap
Tag | Description | Size |
---|---|---|
latest | Latest release | |
1.34.2 | Release matching to mediawiki 1.34.2 |
Specific for LDAP authentication:
File | Description |
---|---|
/var/www/html/LocalSettings.php | Add wfLoadExtension('Auth_remoteuser'); to LocalSettings.php |
/etc/apache2/sites-available/000-default.conf | 000-default.conf |
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Location />
AuthName "LDAP Authentication"
AuthType Basic
AuthBasicProvider ldap
AuthLDAPGroupAttribute member
AuthLDAPGroupAttributeIsDN On
# Example for Microsoft AD. For more details see Apache authnz_ldap documentation.
AuthLDAPRemoteUserAttribute sAMAccountName
AuthLDAPURL ldap://LdapServerHost:Port/?sAMAccountName?sub
AuthLDAPBindDN "LdapUserDn"
AuthLDAPBindPassword LdapUserPwd
Require valid-user
</Location>
</VirtualHost>