Bugs item #1961161, was opened at 2008-05-09 14:43 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1961161...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Daniel Barrett (djbarrett) Assigned to: Nobody/Anonymous (nobody) Summary: Cannot authenticate with LDAPauthentication extension
Initial Comment: pywikipedia cannot authenticate to MediaWiki if the wiki is running the LDAPauthentication extension, http://www.mediawiki.org/wiki/Extension:LDAP_Authentication.
The problem (most likely) is that LDAP authentication requires a domain, and pywikipedia does not provide it.
When in use, LDAPauthentication adds a domain dropdown to the MediaWiki login page, named wpDomain:
<select name="wpDomain" value="invaliddomain" tabindex="3"> <option>domain1</option> <option>domain2</option> <option>domain3</option> </select>
When you run login.py, you get this behavior:
Password for user mybot on mywiki:en: ******* Logging in to mywiki:en as mybot Login failed. Wrong password or CAPTCHA answer?
and the error reported by MediaWiki is:
PHP Notice: Undefined index: invaliddomain in extensions\LdapAuthentication.php on line 170
LDAPauthentication is an important extension and I think pywikipedia should support it, just like you support CAPTCHAs today.
Thank you.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1961161...
pywikipedia-l@lists.wikimedia.org