Thread:Extension talk:LDAP Authentication/another "password in correct", binding works and an account is created in the wikiDB but still it fails to login.

Sorry if my formatting is off, I'll try to keep it clean. I have a test wiki setup. Latest versions as of last week. I have a "test3" account, I try to login with it always gives an incorrect password message. Here's the config: require_once("$IP/extensions/LdapAuthentication/LdapAuthentication.php"); $wgAuth = new LdapAuthenticationPlugin; $wgUseLDAP = true; $wgLDAPDomainNames = array('home.local'); $wgLDAPServerNames = array('home.local'=>'testad.home.local'); $wgLDAPSearchStrings = array('home.local'=>'USER-NAME@home'); $wgLDAPEncryptionType = array('home.local'=>'clear'); $wgLDAPUseLocal = false; $wgMinimalPasswordLength = 1; $wgLDAPUpdateLDAP = false; $wgLDAPSearchAttributes = array('home.local'=>'sAMAccountName'); $wgLDAPBaseDNs = array("home.local"=>"DC=home,DC=local"); $wgLDAPUserBaseDNs = array("home.local"=>"OU=wikiou,DC=home,DC=local"); $wgLDAPProxyAgent = array('home.local'=>'CN=Wiki Admin,OU=wikiou,DC=home,DC=local'); $wgLDAPProxyAgentPassword = array('home.local'=>'wikiadmin'); $wgLDAPDebug = 5; $wgDebugLogGroups["ldap"] = "C:\debug_log.txt"; Here's the debug: 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a Entering validDomain 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a User is using a valid domain (home.local). 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a Setting domain as: home.local 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a Entering getCanonicalName 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a Username is: Test3 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a Entering validDomain 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a User is using a valid domain (home.local). 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a Entering Connect 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a Using TLS or not using encryption. 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a Using servers: ldap://testad.home.local:389 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a PHP's LDAP connect method returned true (note, this does not imply it connected to the server). 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a Entering getUserDN 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a Doing a proxy bind 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a Created a regular filter: (sAMAccountName=Test3) 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a Entering getBaseDN 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a basedn is OU=wikiou,DC=home,DC=local 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a Using base: OU=wikiou,DC=home,DC=local 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a Fetched username is not a string (check your hook code...). This message can be safely ignored if you do not have the SetUsernameAttributeFromLDAP hook defined. 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a Munged username: Test3 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a Entering allowPasswordChange 2012-07-13 20:45:35 WEB01 my_wiki: 2.0a Entering modifyUITemplate
 * 1) Enable LDAP Authentication

Thank you in advanced.