Hi,
I've finally got the LDAP Authentication working on my mw installation. Nearly everything works fine, even preferences like nickname and email are retrieved from the ldap-database. Though, the users are not able to change their passwords unfortunately. Everytime the try to access the special-site for changing the password, mw tells them, it is not possible to change it (no form, just an error message). Here is my mw/ldap-configuration:
=========================================
require_once( "$IP/extensions/LdapAuthentication/LdapAuthentication.php" ); $wgAuth = new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array('LDAP'); $wgLDAPServerNames = array('LDAP' => '127.0.0.1');
$wgLDAPUseLocal = false; $wgLDAPAddLDAPUsers = true; $wgLDAPUpdateLDAP = true;
$wgLDAPEncryptionType = array('LDAP'=>'clear');
$wgLDAPSearchStrings = array( "LDAP" => "uid=USER-NAME,ou=Users,dc=one,dc=two,dc=three,dc=de" );
$wgLDAWriterDN = array( "LDAP"=>"cn=authenticate,dc=one,dc=two,dc=three,dc=de" ); $wgLDAPWriterPassword = array( "LDAP"=>"abcdefgh" ); $wgLDAPWriteLocation = array( "LDAP"=>"ou=Users,dc=one,dc=two,dc=three,dc=de" ); $wgLDAPPreferences = array(
"LDAP"=>array( "email"=>"mail","realname"=>"displayName","nickname"=>"cn"), );
$wgLDAPSearchAttributes = array( "LDAP"=>"uid" ); $wgLDAPBaseDNs = array( "LDAP"=>"dc=one,dc=two,dc=three,dc=de" );
$wgLDAPUserBaseDNs = array("LDAP"=>"ou=Users,dc=one,dc=two,dc=three,dc=de"); $wgLDAPDisableAutoCreate = array("LDAP"=>false);
$wgLDAPRetrievePrefs = true; $wgMinimalPasswordLength = 8;
$wgDebugLogFile = '/tmp/wiki.log'; $wgLDAPDebug = 99; $wgDebugLogGroups["ldap"] = "/tmp/debug.log";
=========================================
Can anyone please tell me what to change to allow users to change their passwords?
Thanks, Tim
mediawiki-l@lists.wikimedia.org