Skip to content

Latest commit

 

History

History
74 lines (52 loc) · 4.67 KB

README.md

File metadata and controls

74 lines (52 loc) · 4.67 KB

Outdated version

Mediawiki with Apache based LDAP authentication

Mediawiki with Apache based LDAP authentication and some other extensions.

Based on the official Mediawiki container.

Information

Service Stats
Docker Build Pulls Stars Automated
GitHub Last commit Issues PR Size License

General

Topic Description
Image See Docker Hub.
Source See GitHub.

Installation

docker pull bbtsoftwareag/docker-mediawiki-ldap

Tags

Tag Description Size
latest Latest release Size
1.34.2 Release matching to mediawiki 1.34.2 Size

Volumes

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

Samples

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>