Thread:Extension talk:LDAP Authentication/Not pulling user preferences from LDAP

I've installed the LDAP extension and users are able to login in correctly. When they log in, an account is created on the wiki for them; however, their account information is always empty. Particularly, the real name and email address fields are not filled in.

My settings are:

require_once( "$IP/extensions/LdapAuthentication/LdapAuthentication.php" ); $wgAuth = new LdapAuthenticationPlugin; $wgLDAPDomainNames = array( "hidden" ); $wgLDAPServerNames = array( "hidden" => "hidden1.local hidden2.local" ); $wgLDAPSearchStrings = array( "hidden" => "USER-NAME@hidden" ); $wgLDAPEncryptionType = array( "hidden" => "clear" ); $wgLDAPRetrievePrefs = array( "hidden" => true ); $wgLDAPDebug = 0;
 * 1) LDAP

$wgEnableEmail     = true; $wgEnableUserEmail = false; # UPO $wgEnotifUserTalk = true; # UPO $wgEnotifWatchlist = true; # UPO $wgEmailAuthentication = true;

I've also noticed that whilst $wgEmailAuthentication is set to true, users cannot set the e-mail address in the wiki (to clarify, I don't want users to change the email address in LDAP). I'm not sure if this is a mediawiki thing or not.

With debugging turned on, I've noticed that the debug print statement for "Updating user info" is never shown, but I'm not sure if it should and I wasn't able to get it to log to a file.

Here is some version information:


 * MediaWiki 1.15.1
 * PHP 5.2.10 (apache2handler)
 * MySQL 5.1.30-community-log
 * LDAP Authentication Plugin (Version 1.2a (beta))