Thread:Extension talk:LDAP Authentication/Unable to start TLS

Im followed this guide : http://www.pickysysadmin.ca/2013/05/13/how-to-configure-mediawiki-to-authenticate-against-active-directory-on-centos/#comment-49402

but it not working.

Im Getting this error : Unable to start TLS: Can’t contact LDAP server in /var/www/html/mediawiki/extensions/LdapAuthentication/LdapAuthentication.php on line 622

and somwhow i dont get a debug log?? is these settings wrong?

$wgLDAPDebug = 3; //for debugging LDAP $wgShowExceptionDetails = true; //for debugging MediaWiki $wgDebugLogGroups['ldap'] = '/tmp/debug.log';

my setup
 * MediaWiki	1.23.2
 * PHP	5.4.16 (apache2handler)
 * MariaDB	5.5.37-MariaDB
 * LDAP Authentication Plugin 2.1.0

ldap config:

require_once( "$IP/extensions/LdapAuthentication/LdapAuthentication.php" );

$wgAuth = new LdapAuthenticationPlugin; $wgLDAPDomainNames = array( "testdomain" ); $wgLDAPServerNames = array( "testdomain" => "DC1.testdomain.root.local" ); $wgLDAPSearchStrings = array( "testdomain" => "testdomain\\USER-NAME" );

$wgLDAPEncryptionType = array( "testdomain" => "tls" );

$wgLDAPUseLocal = false;

$wgMinimalPasswordLength = 1; $wgLDAPBaseDNs = array( "testdomain" => "dc=testdomain,dc=root,dc=local" );

$wgLDAPSearchAttributes = array( "testdomain" => "sAMAccountName" );

$wgLDAPRetrievePrefs = array( "testdomain" => "true" ); $wgLDAPPreferences = array('testdomain' => array( 'email' => 'mail','realname' => 'displayname')); $wgLDAPDebug = 3; //for debugging LDAP

$wgShowExceptionDetails = true; //for debugging MediaWiki

$wgDebugLogGroups['ldap'] = '/tmp/debug.log'; error_reporting( -1 ); ini_set( 'display_errors', 1 );