Thread:Extension talk:LDAP Authentication/LDAP Authentication : Auto authentication not working

Hi,

I have setup mediawiki 1.23.5 on IIS 7 on Windows 7 development machine.

I have used following configuration in my LocalSettings.php to make LDAP Authentication work :

require_once ("$IP/extensions/LdapAuthentication/LdapAuthentication.php"); $wgAuth = new LdapAuthenticationPlugin; $wgLDAPDomainNames = array("MyDomain"); $wgLDAPAutoAuthDomain = "MyDomain"; $wgLDAPUseLocal = false; $wgMinimalPasswordLength = 1; $wgLDAPServerNames = array('MyDomain' => 'My.Domain.Net'); $wgLDAPSearchStrings = array('MyDomain' => 'USER-NAME@MyDomain'); $wgLDAPEncryptionType = array('MyDomain' => 'clear'); $wgLDAPBaseDNs = array('MyDomain' => 'OU=test,DC=my,DC=domain,DC=net'); $wgLDAPSearchAttributes = array('MyDomain' => 'sAMAccountName');

Using this configuration i'm able to login using my domain specific credentials. But i'm not able to implement auto authentication. I'm using following configuration in addition to above configuration:

require_once ("$IP/extensions/LdapAuthentication/LdapAutoAuthentication.php"); $wgLDAPAutoAuthDomain = "MyDomain"; AutoAuthSetup;

I'm still getting the Login page and this time 'Select Domain' dropdown is empty and i'm getting incorrect password error while logging in.

Is there any additional configuration needed or any extensions..