<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=LDAPAuthentication</id>
	<title>LDAPAuthentication - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=LDAPAuthentication"/>
	<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=LDAPAuthentication&amp;action=history"/>
	<updated>2026-04-05T17:49:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://tech.uvoo.io/index.php?title=LDAPAuthentication&amp;diff=18&amp;oldid=prev</id>
		<title>imported&gt;Leaf at 21:11, 3 December 2018</title>
		<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=LDAPAuthentication&amp;diff=18&amp;oldid=prev"/>
		<updated>2018-12-03T21:11:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
# How to Authenticate using the LDAP Server&lt;br /&gt;
&lt;br /&gt;
The domain for LDAP authentication is **example.io**. The search string for a user **leaf** is **uid=leaf,ou=people,dc=example,dc=io**. Here are the settings used by mediawiki to perform LDAP authentication:&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
$wgLDAPDomainNames = array('example.io');&lt;br /&gt;
$wgLDAPServerNames = array('example.io' =&amp;gt; 'zmail1.example.io');&lt;br /&gt;
&lt;br /&gt;
$wgLDAPUseLocal = false;&lt;br /&gt;
$wgLDAPEncryptionType = array('example.io' =&amp;gt; 'tls');&lt;br /&gt;
$wgLDAPPort = array('example.io' =&amp;gt; 389);&lt;br /&gt;
&lt;br /&gt;
$wgLDAPSearchStrings = array(&lt;br /&gt;
        'example.io' =&amp;gt; 'uid=USER-NAME,ou=people,dc=example,dc=io'&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
$wgLDAPBaseDNs = array('example.io' =&amp;gt; 'dc=example,dc=io');&lt;br /&gt;
$wgLDAPUserBaseDNs = array('example.io' =&amp;gt; 'ou=people,dc=example,dc=io');&lt;br /&gt;
$wgLDAPGroupBaseDNs = array('example.io' =&amp;gt; 'ou=group,dc=example,dc=io');&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
## Some Notes on Querying LDAP&lt;br /&gt;
&lt;br /&gt;
You may consider [using the LDAP Utilities](https://wiki.debian.org/LDAP/LDAPUtils) to verify that you can connect to the LDAP server, query it, etc. This is useful for debugging issues before trying to configure your application, e.g. MediaWiki, to perform LDAP authentication.&lt;br /&gt;
&lt;br /&gt;
## Some Notes on Mediawiki's LDAP Plugin&lt;br /&gt;
&lt;br /&gt;
With 1.27, some of the features of the plugin were broken. In addition to the configuration stored in **LocalSettings.php**, it was also necessary to [follow the instructions here](https://www.mediawiki.org/wiki/Topic:Tgdofnhfke1w3w7e). Specifically, it was necessary to comment out the **saveDomain** line as described and to give the **autocreateaccount** permission.&lt;br /&gt;
&lt;br /&gt;
Background on why this is necessary [can be found here](https://www.mediawiki.org/wiki/Topic:T6s2lkqumdyy0zqv) and [also here](https://www.mediawiki.org/wiki/Topic:U6tc39jwk2pjhb62). There is some useful, but somewhat [outdated documentation here](https://www.mediawiki.org/wiki/Extension:LDAP_Authentication/Configuration_Options). [This was also helpful](https://blog.ryandlane.com/2009/03/23/using-the-ldap-authentication-plugin-for-mediawiki-the-basics-part-1/)&lt;/div&gt;</summary>
		<author><name>imported&gt;Leaf</name></author>
	</entry>
</feed>