Authentication via LDAP in Active Directory

This plugin is for version 7 of the product and has not been ported to version 8 yet. We'll eventually be rewriting the existing plugins to v8 platform, please let us know if you require this particular plugin there.
To find out which plugins have already been ported to v8, click here.

It allows users to authenticate in Active Directory by supplying their username and password.

Upon downloading and extracting plugin package, rename its main directory from:




Then you'll need to deploy the plugin so that its index file is available at the following location:


To enable the plugin, add the following to array defined in data/settings/config.php file:

'plugins.ldap-auth' => true,
'' => '',
'plugins.ldap-auth.config.port' => 389,
'plugins.ldap-auth.config.users-dn' => 'CN=Users,DC=dom2,DC=local',
'plugins.ldap-auth.config.bind-dn' => 'CN=Administrator,CN=Users,DC=dom2,DC=local',
'plugins.ldap-auth.config.password' => 'pass',
'plugins.ldap-auth.config.login-field' => 'sAMAccountName',
'' => 'mail',

Of course, the above values need to be adjusted according to your LDAP server setup.

Also, you'll need to configure login page so that users enter their login (and not email) there, set LoginFormType to Login in data/settings/settings.xml file.

Detailed information on how this is implemented can be found at Authentication via custom non-IMAP backend documentation page.