Topic: Force user to change password
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Debian 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Openldap
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hin Zhang, hi all
I followed this tutorial to force users to change their password after a certain amount of time: https://docs.iredmail.org/force.user.to … sword.html
I installed the roundcube plugins : https://bitbucket.org/wainlake/force_password_change
and i follow the steps.
But this plugins don't work for me and I have a php warning on mail.log :
roundcube: PHP Warning: ldap_search(): Search: No such object in /opt/www/roundcubemail-1.3.0/plugins/force_password_change/drivers/ldap_simple.php on line 45
Mar 6 05:38:38 mail1 roundcube: PHP Warning: ldap_get_entries() expects parameter 2 to be resource, boolean given in /opt/www/roundcubemail-1.3.0/plugins/force_password_change/drivers/ldap_simple.php on line 46
Please help .
Thank's forn all
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.