Summary: | ASTERISK-02354: [patch] prevent a user changing mailbox password | ||
Reporter: | raburton (raburton) | Labels: | |
Date Opened: | 2004-09-05 15:26:48 | Date Closed: | 2008-01-15 15:06:48.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_voicemail |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) nochange.patch ( 1) nochange2.patch | |
Description: | This patch prevents a user changing the password of a mailbox. Ideal for shared mailboxes where you don't want people changing the password and locking other users out (or where there is currently no password, and you want to prevent one being set). To use, simply add a - character to the end of the password in voicemail.conf, e.g.: 1234 => 4242-,Shared Mailbox If you choose option 0,4 to change password, you are played the "no" message and returned to the menu. If adopted a proper message should probably be used, e.g. "you are not authorised the change the password" | ||
Comments: | By: Mark Spencer (markster) 2004-09-05 15:36:23 Do you mind putting the - at the beginning rather than the end? By: raburton (raburton) 2004-09-05 16:53:43 Done. Also updated the check for blank password from my previous patch, so it also detects a password of '-' (blank password which cannot be changed) as being blank. By: Mark Spencer (markster) 2004-09-06 02:17:00 Fixed in CVS, also updated vmail.cgi so that should work. By: Digium Subversion (svnbot) 2008-01-15 15:06:48.000-0600 Repository: asterisk Revision: 3729 U trunk/apps/app_voicemail.c U trunk/configs/voicemail.conf.sample U trunk/contrib/scripts/vmail.cgi ------------------------------------------------------------------------ r3729 | markster | 2008-01-15 15:06:48 -0600 (Tue, 15 Jan 2008) | 2 lines Allow "-" in password to make it unchangable (bug ASTERISK-2354) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=3729 |