Difference between revisions of "Authenticating MediaWiki to LDAP servers"
From MyWiki
(Created page with " Good configuration examples here : http://www.mediawiki.org/wiki/Extension:LDAP_Authentication/AD_Configuration_Examples") |
|||
| Line 1: | Line 1: | ||
Good configuration examples here : http://www.mediawiki.org/wiki/Extension:LDAP_Authentication/AD_Configuration_Examples | Good configuration examples here : http://www.mediawiki.org/wiki/Extension:LDAP_Authentication/AD_Configuration_Examples | ||
| + | The follwoing was cut from config : | ||
| + | $wgAuth = new LdapAuthenticationPlugin(); | ||
| + | |||
| + | $wgLDAPDomainNames = array( | ||
| + | 'exampleADDomain' | ||
| + | ); | ||
| + | |||
| + | $wgLDAPServerNames = array( | ||
| + | 'LDAP' => 'custard.gold.ac.uk' | ||
| + | ); | ||
| + | |||
| + | $wgLDAPSearchStrings = array( | ||
| + | 'LDAP' => 'uid=USER-NAME,ou=people,dc=gold,dc=ac,dc=uk' | ||
| + | ); | ||
| + | |||
| + | $wgLDAPEncryptionType = array( | ||
| + | 'LDAP' => 'clear' | ||
| + | ); | ||
| + | |||
| + | $wgLDAPUseLocal = true; | ||
| + | $wgMinimalPasswordLength = 1; | ||
Revision as of 09:04, 20 May 2014
Good configuration examples here : http://www.mediawiki.org/wiki/Extension:LDAP_Authentication/AD_Configuration_Examples The follwoing was cut from config : $wgAuth = new LdapAuthenticationPlugin(); $wgLDAPDomainNames = array( 'exampleADDomain' ); $wgLDAPServerNames = array( 'LDAP' => 'custard.gold.ac.uk' ); $wgLDAPSearchStrings = array( 'LDAP' => 'uid=USER-NAME,ou=people,dc=gold,dc=ac,dc=uk' ); $wgLDAPEncryptionType = array( 'LDAP' => 'clear' ); $wgLDAPUseLocal = true; $wgMinimalPasswordLength = 1;