Difference between revisions of "Mediawiki"
From A-Eskwiki
(Created page with "[category:sysop] =LDAP auth voor Mediawiki= Plemp het volgende in LocalSettings.php # End of automatically generated settings. # Add more configuration options below. # L...") |
|||
Line 1: | Line 1: | ||
− | [category:sysop] | + | [[category:sysop]] |
=LDAP auth voor Mediawiki= | =LDAP auth voor Mediawiki= | ||
Line 5: | Line 5: | ||
Plemp het volgende in LocalSettings.php | Plemp het volgende in LocalSettings.php | ||
− | # End of automatically generated settings. | + | # End of automatically generated settings. |
− | # Add more configuration options below. | + | # Add more configuration options below. |
− | + | ||
− | # LDAP | + | # LDAP |
− | require_once 'extensions/LdapAuthentication/LdapAuthentication.php'; | + | require_once 'extensions/LdapAuthentication/LdapAuthentication.php'; |
− | require_once 'extensions/LdapAuthentication/LdapAutoAuthentication.php';require_once 'includes/AuthPlugin.php'; | + | require_once 'extensions/LdapAuthentication/LdapAutoAuthentication.php';require_once 'includes/AuthPlugin.php'; |
$wgAuth = new LdapAuthenticationPlugin(); | $wgAuth = new LdapAuthenticationPlugin(); | ||
$wgLDAPDomainNames = array( | $wgLDAPDomainNames = array( |
Revision as of 12:56, 27 June 2014
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();