Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 2.8 KB

README.md

File metadata and controls

42 lines (33 loc) · 2.8 KB

kopano-webapp-passwd

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.

Background version 1.6

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.

Security warning!

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!

How to install

  1. On github goto Code -> download ZIP and move the kopano-webapp-passwd-master.zip to your kopano server
  2. On the kopano server goto the <webapp_path>/plugins directory ( cd /usr/share/kopano-webapp/plugins )
  3. unzip the content of kopano-webapp-passwd-master.zip ( unzip kopano-webapp-passwd-master.zip )
  4. rename the just created directory 'kopano-webapp-passwd-master' to 'passwd' ( mv kopano-webapp-passwd-master/ passwd/ )
  5. 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]
  6. Restart apache, reload webapp after clearing cache
  7. 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

How to enable

  1. Go to settings section
  2. Go to Plugins tab
  3. Enable password change plugin and reload webapp

How to use

  1. Go to Change Password tab of settings section
  2. Provide current password and new password
  3. Click on apply
  4. If password change is success you will be logged out

How to disable

  1. Go to settings section
  2. Go to Plugins tab
  3. Disable password change plugin and reload webapp