MediaWiki/Auth: Difference between revisions

m adds explicit NOTOC since it's being generated despite HeaderTabs config in LocalSettings and default value (subpage problem?)
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
 
Line 36: Line 36:
== Configuration ==
== Configuration ==
Here's a sample configuration for an Active Directory LDAP server
Here's a sample configuration for an Active Directory LDAP server
<source lang=php>
<syntaxhighlight lang=php>
$wgAuth = new LdapAuthenticationPlugin();
$wgAuth = new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array('example');
$wgLDAPDomainNames = array('example');
Line 80: Line 80:
$wgLDAPUseLocal = false;
$wgLDAPUseLocal = false;


</source>
</syntaxhighlight>
<headertabs/>
<headertabs/>
{{References}}
{{References}}


[[Category:Wiki]]
[[Category:Wiki]]