Trying to integrate LdapAuthentication into content="MediaWiki 1.20.2" version and keep getting the message in the Subject line above: 'Login error Incorrect password entered. Please try again.'
When I go to: http://wikidev.xxxxx.net/wiki/index.php?title=Special:UserLogin I get:
'Log in / create account' Login successful; if you see a Log out link in the upper-right, you are logged in. Use the Navigation menu to the left to access the wiki.
Although, at the top, I see myself appear as an IP address but not seeing the 'Log out' option.
I've enabled the debugging, but it's not telling me much - at least not fully understanding the response:
Start request POST /wiki/index.php?title=Special:UserLogin&action=submitlogin&type=signup&returnto=Special:UserLogin&returntoquery=type%3Dlogin
HTTP HEADERS:
HOST: wikidev.pcoral.net
CONNECTION: keep-alive
CONTENT-LENGTH: 204
CACHE-CONTROL: max-age=0
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
ORIGIN: http://wikidev.pcoral.net
USER-AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.103 Safari/537.36
CONTENT-TYPE: application/x-www-form-urlencoded
REFERER: http://wikidev.xxxxxx.net/wiki/index.php?title=Special:UserLogin&returnto=Special%3AUserLogin&returntoquery=type%3Dlogin&type=signup
ACCEPT-ENCODING: gzip,deflate
ACCEPT-LANGUAGE: en-US,en;q=0.8
COOKIE: my_wiki_session=3257096060cebd1313ccb377b9191c86
CACHES: EmptyBagOStuff[main] SqlBagOStuff[message] SqlBagOStuff[parser]
session_set_cookie_params: "0", "/", "", "", "1"
LocalisationCache: using store LCStore_DB
Fully initialised
Connecting to localhost my_wiki...
Profiler::instance called without $wgProfiler['class'] set, falling back to ProfilerStub for safety
Connected to localhost my_wiki.
Connecting to localhost my_wiki...
IP: 70.165.87.78
Connected to localhost my_wiki.
MessageCache::load: Loading en... got from global cache
Unstubbing $wgParser on call of $wgParser::firstCallInit from MessageCache::getParser
Parser: using preprocessor: Preprocessor_DOM
Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions::__construct
User::getBlockedStatus: checking...
Parser: using preprocessor: Preprocessor_DOM
Class PEAR_Error not found; skipped loading
OutputPage::sendCacheControl: private caching; **
Request ended normally
LocalSettings.php
...
$wgLDAPDebug = 3; //for debugging LDAP $wgShowExceptionDetails = true; //for debugging MediaWiki
$wgDebugLogFile = "/var/www/html/wiki/wikidebug-{$wgDBname}.log";
- LDAP
require_once 'extensions/LdapAuthentication/LdapAuthentication.php'; $wgAuth = new LdapAuthenticationPlugin(); $wgLDAPDomainNames = array('xxxxx.net'); $wgLDAPServerNames = array('xxxxx.net' => 'ldap-east.xxxxx.net'); $wgLDAPUseLocal = false; $wgLDAPEncryptionType = array('xxxxx.net' => 'tls'); $wgLDAPPort = array('xxxxx.net' => 389); $wgLDAPSearchAttributes = array('xxxxx.net' => 'cn'); $wgLDAPBaseDNs = array('xxxxx.net' => 'dc=xxxxx,dc=net');
$wgLDAPPreferences = array( 'xxxxx.net' => array( 'email' => 'mail'));
Thanks!!! And any help is GREATLY appreciated.