Difference between revisions of "Mediawiki"
From A-Eskwiki
(→LDAP auth voor Mediawiki) |
(→LDAP auth voor Mediawiki) |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
=LDAP auth voor Mediawiki= | =LDAP auth voor Mediawiki= | ||
− | + | Installeer plugin LdapAuthentication en plemp het volgende in LocalSettings.php | |
# End of automatically generated settings. | # End of automatically generated settings. | ||
Line 17: | Line 17: | ||
); | ); | ||
$wgLDAPServerNames = array( | $wgLDAPServerNames = array( | ||
− | 'A-Eskwadraat.nl' => ' | + | 'A-Eskwadraat.nl' => 'ipa01.a-eskwadraat.nl', |
); | ); | ||
− | $wgLDAPEncryptionType = array( | + | $wgLDAPEncryptionType = array( |
'openldap_a-eskwadraat_nl' => 'ssl', | 'openldap_a-eskwadraat_nl' => 'ssl', | ||
− | ); | + | ); |
− | $wgLDAPPort = array( | + | $wgLDAPPort = array( |
'A-Eskwadraat.nl' => 389, | 'A-Eskwadraat.nl' => 389, | ||
− | ); | + | ); |
− | $wgLDAPSearchStrings = array( | + | $wgLDAPSearchStrings = array( |
'A-Eskwadraat.nl' => 'uid=USER-NAME,cn=users,cn=accounts,dc=a-eskwadraat,dc=nl' | 'A-Eskwadraat.nl' => 'uid=USER-NAME,cn=users,cn=accounts,dc=a-eskwadraat,dc=nl' | ||
− | ); | + | ); |
− | $wgLDAPBaseDNs = array( | + | $wgLDAPBaseDNs = array( |
'A-Eskwadraat.nl' => 'dc=a-eskwadraat,dc=nl' | 'A-Eskwadraat.nl' => 'dc=a-eskwadraat,dc=nl' | ||
− | ); | + | ); |
− | #AutoAuthSetup(); | + | #AutoAuthSetup(); |
Latest revision as of 21:25, 10 July 2014
LDAP auth voor Mediawiki
Installeer plugin LdapAuthentication en 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' => 'ipa01.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();