Cannot get basic extension to work

Jump to: navigation, search

I'm using this extension in the most basic way, but I cannot get it to work:

require_once( "$IP/extensions/LdapAuthentication.php" );
$wgAuth = new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array( "MYDOMAIN" );
$wgLDAPServerNames = array( "LDAPSERVER" );
$wgLDAPUseLocal = false;

This prevents existing MediaWiki users from logging in, and it does not create new MediaWiki accounts for matching names found in LDAP. (Essentially, the wiki is unusable.) What is missing?

Related questions:

  1. Also, I may have a few usernames in MediaWiki that aren't in LDAP, like MyUserNameTest. Is there a way to use MediaWiki login info for that, instead of trying to get the info from LDAP?
  2. If someone already has a MediaWiki login with a password, and that password differs from their LDAP password, which one wins? (I'm hoping the answer is that the MediaWiki pw is irrelevant.) And similar to that, is there a way to remove the "change password" link from MediaWiki, if indeed it is irrelevant?

Thank you.

Timneu2218:38, 10 March 2010

Please look at the configuration examples. Check out my blog entries on this subject as well. Your configuration is really far off from being correct.

Ryan lane14:56, 11 March 2010
 

What am I missing? Those "examples" didn't seem to give me any clue.

Timneu2217:30, 11 March 2010
 

Also, I don't see what's missing; based on your blog, the configuration is only a few lines, all of which I have configured.

How can I debug this thing? It's PHP, so I'm operating completely blindly. I don't see where debug messages are logged, and there's no way to hit a breakpoint. I'm desperate here.

Timneu2214:47, 12 March 2010
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox