Thread:Extension talk:LDAP Authentication/Can't Connect to AD - No Logging

I'm trying to set up the extension to use our ActiveDirectory for authentication, but can't get it to work. All mylogin attempts result in:

Login error Incorrect password entered. Please try again.

Unfortunately, it's hard to debug because I can't seem to get logging to work either. This is what I've set up in my LocalSettings.php:

# LDAP Authentication Extension require_once( "$IP/extensions/LdapAuthentication/LdapAuthentication.php" ); $wgAuth = new LdapAuthenticationPlugin; $wgLDAPDomainNames = array("my.ad"); # Set to AD server IP   $wgLDAPServerNames = array("my.ad" => "127.0.0.1"); $wgLDAPEncryptionType = array("my.ad" => "clear"); $wgLDAPPort = array("my.ad" => 389); # AD Settings $wgLDAPGroupUseFullDN = array( "my.ad"=>true ); $wgLDAPGroupObjectclass = array( "my.ad"=>"group" ); $wgLDAPGroupAttribute = array( "my.ad"=>"member" ); $wgLDAPGroupSearchNestedGroups = array( "my.ad"=>true ); $wgLDAPGroupNameAttribute = array( "my.ad"=>"cn" ); $wgLDAPBaseDNs = array( "my.ad"=>"DC=MYAD,DC=AD" ); $wgLDAPActiveDirectory = array( "my.ad"=>true ); $wgLDAPSearchAttributes = array( "my.ad"=>"sAMAccountName" ); # Log File $wgLDAPDebug = 3; $wgDebugLogGroups['ldap'] = '/var/log/mediawiki/ldap.log';

After attempting to login, the file '/var/log/mediawiki/ldap.log' does not exist. Am I missing something to get logging set up?