Hello,
I have a problem with password plugin 5.1 in Roundcube 1.4.9. I have multidomain setup, my users reside in LDAP. I want to allow them to change their password, but password plugin doesn't seem to be active at all. When I check my LDAP server logs, I can see my test user log in, but no activity when I try to change password... What am I missing?
I have:
[root@microhactar config]# grep -v '^\/\/' microhactar.pupu.cz.inc.php
<?php
/* Local configuration for Roundcube Webmail */
$config['db_dsnw'] = 'mysql://roundcubeuser:mypass@localhost/roundcube';
$config['db_prefix'] = 'microhactar';
$config['default_host'] = 'localhost';
$config['smtp_port'] = 25;
$config['support_url'] = '';
$config['des_key'] = '...key...';
$config['plugins'] = array('filesystem_attachments', 'help', 'managesieve', 'markasjunk', 'newmail_notifier', 'password', 'subscriptions_option', 'userinfo', 'virtuser_file', 'zipdownload');
$config['username_domain'] = 'pupu.cz';
-----------------------------
some interesting lines from ../plugins/password/microhactar.pupu.cz.inc.php:
<?php
$config['password_driver'] = 'ldap_simple';
$config['password_confirm_current'] = true;
$config['password_hosts'] = null;
$config['password_force_save'] = false;
$config['password_force_new_user'] = false;
$config['password_algorithm'] = 'ssha';
$config['password_algorithm_prefix'] = '';
$config['password_disabled'] = false;
$config['password_username_format'] = '%u';
$config['password_ldap_host'] = 'localhost';
$config['password_ldap_port'] = '389';
$config['password_ldap_starttls'] = false;
$config['password_ldap_version'] = '3';
$config['password_ldap_basedn'] = 'ou=Mail,dc=pupu,dc=cz';
$config['password_ldap_method'] = 'admin';
$config['password_ldap_adminDN'] = 'cn=mailAccountReader,dc=pupu,dc=cz';
$config['password_ldap_adminPW'] = 'adminpass';
$config['password_ldap_searchDN'] = 'cn=mailAccountReader,dc=pupu,dc=cz';
$config['password_ldap_searchPW'] = 'adminpass';
$config['password_ldap_search_base'] = 'ou=Mail,dc=pupu,dc=cz';
$config['password_ldap_search_filter'] = '(maildrop=%login)';
$config['password_ldap_encodage'] = 'default';
$config['password_ldap_pwattr'] = 'userPassword';
$config['password_ldap_force_replace'] = true;
$config['password_ldap_lchattr'] = '';
$config['password_ldap_samba_pwattr'] = '';
$config['password_ldap_samba_lchattr'] = '';
$config['password_ldap_ppolicy_cmd'] = 'change_ldap_pass.pl';
$config['password_ldap_ppolicy_uri'] = 'ldap://localhost/';
$config['password_ldap_ppolicy_basedn'] = 'dc=example,dc=com';
$config['password_ldap_ppolicy_searchDN'] = 'cn=someuser,dc=example,dc=com';
$config['password_ldap_ppolicy_searchPW'] = 'secret';
$config['password_ldap_ppolicy_search_filter'] = '(uid=%login)';
$config['password_ldap_ppolicy_cafile'] = '/etc/ssl/cacert.crt';
Thanks a lot!
P.U.