qiupin / iredmail

Automatically exported from code.google.com/p/iredmail
0 stars 0 forks source link

Allow to store password in plain text with iRedAdmin-Pro. #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Allow to store password in plain text with iRedAdmin-Pro.

- Why we should store some passwords in plain text (Thanks brothner):
   http://www.iredmail.org/forum/post11124.html#p11124

Original issue reported on code.google.com by michaelb...@gmail.com on 20 Aug 2011 at 1:56

GoogleCodeExporter commented 9 years ago
Attachment is patch for iRedAdmin-Pro-MySQL-1.3.0, it will show an addition 
checkbox "Store password in plain text" while creating new mail user or 
reseting user password.

Steps to apply this patch:

- Copy or upload patch to your server which has iRedAdmin-Pro-MySQL-1.3.0 
running. Assume it's /root/store_password_in_plain_text.patch.

- Switch working directory to root directory of iRedAdmin-Pro-MySQL-1.3.0 in 
terminal. e.g.

  # cd /var/www/iRedAdmin-Pro-MySQL-1.3.0/

- Verify this patch with command 'patch --dry-run':

  # patch --dry-run -p0 < /root/store_password_in_plain_text.patch
  patching file libs/iredutils.py
  patching file libs/mysql/user.py
  patching file templates/default/macros/general.html
  patching file templates/default/mysql/user/profile.html
  patching file libs/mysql/user.py
  patching file templates/default/mysql/user/create.html

- If you got same output, it's safe to apply this patch immediately:

  # patch -p0 < /root/store_password_in_plain_text.patch

- Restarting Apache web server is required.

P.S. Same feature was achieved in iRedAdmin-Pro-LDAP, will be available in next 
release.

Thanks very much for your feedback and feature request. :)

Original comment by michaelb...@gmail.com on 20 Aug 2011 at 3:38

Attachments: