6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/19/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#1733] imp/lib/api.php incorrect function _imp_userList()
*
Your Email Address
*
Spam protection
Enter the letters below:
\ /.__ . .._..___ >< [__)| | | [__ / \| |__|_|_[___
Comment
> The Function _imp_userList() did not have the "Secret::read" function > translating the "admin_password" parameter: The function should look > like: > > > > function _imp_userList() > > { > > $params = $_SESSION['imp']['admin']['params']; > > $params['admin_user'] = $params['login']; > > $params['admin_password'] = Secret::read(Secret::getKey('imp'), > $params['password']); > > require_once 'Horde/IMAP/Admin.php'; > > $imap = &new IMAP_Admin($params); > > return $imap->listMailboxes(); > > } > > > > This is how the function looked before I fixed it: > > function _imp_userList() > > { > > $params = $_SESSION['imp']['admin']['params']; > > $params['admin_user'] = $params['login']; > > $params['admin_password'] = $params['password']; > > require_once 'Horde/IMAP/Admin.php'; > > $imap = &new IMAP_Admin($params); > > return $imap->listMailboxes(); > > } > > > > This prevented the Users and Group admin functions from working > because the cyrus imapd account was being passed the wrong password
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers