RC LDAP Password Policy Checker Plugin provides functionality to warn users in a case of LDAP Password expiration and redirects browser, after successful authentication to the password change page and display suitable warning message. It's compatible with Roundcube 1.3+ version.
Copy files to the RC plugins directory in ppolicy_checker folder. Rename config.inc.php-dist to config.inc.php and fill it with your LDAP configuration parameters. Then add plugin in Roundcube config file.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see [www.gnu.org/licenses/][gpl].