The Passwd plugin allows the user to change the current user password inside of WebApp.
This plugin is largely based on the Passwd plugin by Andreas Brodowski. For his original work check this link The original plugin is a fork of zarafa-webapp-passwd link written by Saket Patel This plugin (version 1.6) is a fork of zarafa-webapp-passwd version 1.5 link written by 'dducret' with minimal changes.
Two years ago the kopano development team decided to remove 'remove unused mapi_zarafa_* privileged user functions' from the kopano code. link Unfortunately the kopano-webapp-passwd plugin did use the 'mapi_zarafa_setuser' function for setting the new password for the user, so the plugin stopped working. Version 1.6 do use an external call to the 'kopano-passwd' tool for setting the password.
Make sure that there are no users other than members of your kopano admin team authorised on the kopano server running the webapp-passwd plugin. The webapp calls the kopano-passwd program with cleartext and even a 'normal' unix user might find ways to read the commands from the internal process table!
- On github goto Code -> download ZIP and move the kopano-webapp-passwd-master.zip to your kopano server
- On the kopano server goto the <webapp_path>/plugins directory ( cd /usr/share/kopano-webapp/plugins )
- unzip the content of kopano-webapp-passwd-master.zip ( unzip kopano-webapp-passwd-master.zip )
- rename the just created directory 'kopano-webapp-passwd-master' to 'passwd' ( mv kopano-webapp-passwd-master/ passwd/ )
- If you are using DB plugin then no need to change anything, default configurations should be fine. If you are using LDAP plugin then change PLUGIN_PASSWD_LDAP to true and also set proper values for PLUGIN_PASSWD_LDAP_BASEDN and PLUGIN_PASSWD_LDAP_URI configurations [ATTENTION LDAP NOT TESTED on Kopano]
- Restart apache, reload webapp after clearing cache
- If you want to enable this plugin by default for all users then edit config.php file and change PLUGIN_PASSWD_USER_DEFAULT_ENABLE setting to true
- Go to settings section
- Go to Plugins tab
- Enable password change plugin and reload webapp
- Go to Change Password tab of settings section
- Provide current password and new password
- Click on apply
- If password change is success you will be logged out
- Go to settings section
- Go to Plugins tab
- Disable password change plugin and reload webapp