Difference between revisions of "Mediawiki"

From A-Eskwiki
Jump to: navigation, search
(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...")
 
(LDAP auth voor Mediawiki)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[category:sysop]  
+
[[category:sysop]
  
 
=LDAP auth voor Mediawiki=
 
=LDAP auth voor Mediawiki=
  
Plemp het volgende in LocalSettings.php
+
Installeer plugin LdapAuthentication en 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';
$wgAuth = new LdapAuthenticationPlugin();
+
require_once 'includes/AuthPlugin.php';
$wgLDAPDomainNames = array(
+
$wgAuth = new LdapAuthenticationPlugin();
 +
$wgLDAPDomainNames = array(
 
   'A-Eskwadraat.nl',
 
   'A-Eskwadraat.nl',
);
+
);
$wgLDAPServerNames = array(
+
$wgLDAPServerNames = array(
   'A-Eskwadraat.nl' => 'vm-ipa.a-eskwadraat.nl vm-rhel7-rc.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();