Mediawiki
From A-Eskwiki
LDAP auth voor Mediawiki
Plemp het volgende in LocalSettings.php
# End of automatically generated settings. # Add more configuration options below. # LDAP require_once 'extensions/LdapAuthentication/LdapAuthentication.php'; require_once 'extensions/LdapAuthentication/LdapAutoAuthentication.php';require_once 'includes/AuthPlugin.php';
$wgAuth = new LdapAuthenticationPlugin(); $wgLDAPDomainNames = array(
'A-Eskwadraat.nl',
); $wgLDAPServerNames = array(
'A-Eskwadraat.nl' => 'vm-ipa.a-eskwadraat.nl vm-rhel7-rc.a-eskwadraat.nl',
); $wgLDAPEncryptionType = array(
'openldap_a-eskwadraat_nl' => 'ssl',
); $wgLDAPPort = array(
'A-Eskwadraat.nl' => 389,
); $wgLDAPSearchStrings = array(
'A-Eskwadraat.nl' => 'uid=USER-NAME,cn=users,cn=accounts,dc=a-eskwadraat,dc=nl'
); $wgLDAPBaseDNs = array(
'A-Eskwadraat.nl' => 'dc=a-eskwadraat,dc=nl'
);
- AutoAuthSetup();