Help I followed this guide http://ryandlane.com/blog/2009/03/23/using-the-ldap-authentication-plugin-for-mediawiki-the-basics-part-1/ for active directory user login. Now I got this error message after the login (active wgShowSQLErros):
A database query syntax error has occurred. this may indicate a bug in the software.
Query:
SELECT domain FROM `ldap_domains` WHERE user_id = '14' LIMIT 1
Function: LdapAuthenticationPlugin::loadDomain
Error: 1146 Table 'mediawiki.ldap_domains' doesn't exist (localhost)
LocalSettings.php
require_once( "$IP/extensions/LdapAuthentication/LdapAuthentication.php" );
#require_once 'includes/AuthPlugin.php';
$wgAuth = new LdapAuthenticationPlugin();
# Set Domain
$wgLDAPDomainNames = array( "BBVEUROPE" );
# Set AD Servers
$wgLDAPServerNames = array( "BBVEUROPE" => "ATDC02.bbveurope.lan ATDC01.bbveurope.lan ATDC04.bbveurope.lan" );
# Tell how to bind to AD server
$wgLDAPSearchStrings = array( "BBVEUROPE" => "USER-NAME@BBVEUROPE" );
# AD only allows SSL bind by default
$wgLDAPEncryptionType = array( "BBVEUROPE" => "ssl" );
$wgShowSQLErrors = 1;