6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/18/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12128] Bad search filter ldap Groups
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__. __ .__..__ [__)[__]/ `| |[__) [__)| |\__.|__|[__)
Comment
> I'm also having this issue, and in my case I'm wondering whether it's > related to use of a non-standard UID. > > From my horde/config/conf.php: > > [...] > $conf['auth']['params']['uid'] = 'mail'; > [...] > $conf['auth']['params']['driverconfig'] = 'horde'; > $conf['auth']['driver'] = 'ldap'; > [...] > > From function listUsers in pear/Horde/Group/Ldap.php: > > [....] > $users = array(); > foreach ($entry->getValue($attr, 'all') as $user) { > $dn = Horde_Ldap_Util::explodeDN($user, > array('onlyvalues' > => true)); > // Very simplified approach: assume the first element > of the DN > // contains the user ID. > $user = $dn[0]; > // Check for multi-value RDNs. > if (is_array($element)) { > $user = $element[0]; > } > $users[] = $user; > } > return $users; > [....] > > In my case, the dn does not contain the "mail" attribute which I'm > for authentication to ease virtual domain authentication with > IMP/Cyrus IMAPD. > > Groups are properly listed in the Admin interface, but if I expand > the groups in the interface, members are listed as bare uids rather > than e-mail addresses.
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