This plugin is for the outdated version (v7) of the product.
With the current version (v8), use the plugin available 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.host' => '192.168.0.4',
'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',
'plugins.ldap-auth.config.email-field' => '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.