Thread:Extension talk:LDAP Authentication/Enabled LiquidThreads (LQT) for this page. Please make all new support requests using LQT./reply

I've installed the LDAP extension but after a morning of attempts I still can't login to my Mediawiki installation using LDAP. I've read "official" instructions and some third parties tutorials but I still stuck.

I've heavily modified the LocalSettings.php file so that I'm no longer sure I'm setting all the variables I have to set and nothing more. In the following I put the section of LocalSettings.php related to the plugin and the log content:

require_once( "$IP/extensions/LdapAuthentication/LdapAuthentication.php" ); $wgAuth = new LdapAuthenticationPlugin; //Nombres de los dominios que utilizarás. $wgLDAPDomainNames = array("AEP"); //Asociación entre nombre de dominio y nombre DNS de la máquina donde se va a validar. $wgLDAPServerNames = array("AEP"=>"server2003.local.aep-italia.it"); //Encriptación en las solicitudes LDAP. $wgLDAPEncryptionType = array("AEP"=>"tls"); $wgLDAPSearchStrings = array( "AEP"=>"AEP\\USER-NAME" );
 * 1) Validación LDAP

$wgLDAPDebug = 3; $wgDebugLogGroups["ldap"] = "c:/aep/web/debug.log" ;

Would you please help me in troubleshooting this issue?

Ciao, Max the log file follows:

2010-03-08 16:48:29 wikidb: Entering validDomain 2010-03-08 16:48:29 wikidb: User is not using a valid domain. 2010-03-08 16:48:29 wikidb: Setting domain as: invaliddomain 2010-03-08 16:48:29 wikidb: Entering allowPasswordChange 2010-03-08 16:48:29 wikidb: Entering modifyUITemplate 2010-03-08 16:48:54 wikidb: Entering validDomain 2010-03-08 16:48:54 wikidb: User is using a valid domain. 2010-03-08 16:48:54 wikidb: Setting domain as: AEP 2010-03-08 16:48:54 wikidb: Entering getCanonicalName 2010-03-08 16:48:54 wikidb: Username isn't empty. 2010-03-08 16:48:54 wikidb: Munged username: M.polito 2010-03-08 16:48:54 wikidb: Entering userExists 2010-03-08 16:48:54 wikidb: 2010-03-08 16:48:54 wikidb: Entering authenticate 2010-03-08 16:48:54 wikidb: 2010-03-08 16:48:54 wikidb: Entering Connect 2010-03-08 16:48:54 wikidb: Using TLS or not using encryption. 2010-03-08 16:48:54 wikidb: Using servers:  ldap://server2003.local.aep-italia.it 2010-03-08 16:48:54  wikidb: Using TLS 2010-03-08 16:48:54 wikidb: Failed to start TLS. 2010-03-08 16:48:54 wikidb: Connected successfully 2010-03-08 16:48:54 wikidb: Entering getSearchString 2010-03-08 16:48:54 wikidb: Doing a straight bind 2010-03-08 16:48:54 wikidb: userdn is: AEP\M.polito 2010-03-08 16:48:54 wikidb: 2010-03-08 16:48:54 wikidb: Binding as the user 2010-03-08 16:48:54 wikidb: Failed to bind as AEP\M.polito 2010-03-08 16:48:54 wikidb: Entering allowPasswordChange 2010-03-08 16:48:54 wikidb: Entering modifyUITemplate --