Thread:Extension talk:LDAP Authentication/Get Database Error after Login

Hello,

Config: Ubuntu 12.04 LTS, Apache2 MediaWiki 1.22 LdapAuthentication-2.0c

LDAP conf in Localsettings.php:


 * 1) LADP AUTHENTICATION

require_once( "$IP/extensions/LdapAuthentication/LdapAuthentication.php" ); $wgAuth = new LdapAuthenticationPlugin;

$wgLDAPDomainNames = array( 'columbus', );

$wgLDAPServerNames = array( 'columbus' => '10.11.1.20', );

$wgLDAPEncryptionType = array( 'columbus' => 'clear', );

$wgLDAPPort = array( 'columbus' => 390, );

$wgLDAPSearchStrings = array( 'columbus' => 'uid=USER-NAME,ou=Users,dc=sxps,dc=int', );

$wgLDAPAddLDAPUsers = array('columbus'=>false);

$wgLDAPDebug = 4; $wgDebugLogGroups['ldap'] = '/tmp/debug.log';

LDAP Log 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering validDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f User is using a valid domain (columbus). 2014-03-10 15:39:24 polis wiki_administration: 2.0f Setting domain as: columbus 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getCanonicalName 2014-03-10 15:39:24 polis wiki_administration: 2.0f Username is: Admin 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f Munged username: Admin 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering authenticate for username Admin 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering Connect 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f Using TLS or not using encryption. 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f Using non-standard port: 390 2014-03-10 15:39:24 polis wiki_administration: 2.0f Using servers: ldap://10.11.1.20:390 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f PHP's LDAP connect method returned true (note, this does not imply it connected to the server). 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getSearchString 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f Doing a straight bind 2014-03-10 15:39:24 polis wiki_administration: 2.0f userdn is: uid=admin,ou=Users,dc=sxps,dc=int 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f Binding as the user 2014-03-10 15:39:24 polis wiki_administration: 2.0f Bound successfully 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getGroups 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering checkGroups 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getPreferences 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f Authentication passed 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering updateUser 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getDomain 2014-03-10 15:39:24 polis wiki_administration: 2.0f User has a token, setting domain in user options. 2014-03-10 15:39:24 polis wiki_administration: 2.0f Entering getCanonicalName 2014-03-10 15:39:24 polis wiki_administration: 2.0f Username is an IP, not munging

So It seems login is working but i get "Database Error, This could be a mistake in the software" (translated, in German: "Es ist ein Datenbankabfragefehler aufgetreten. Dies könnte auf einen Fehler in der Software hindeuten.") Any Ideas?