6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/7/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 am not sure my previous comment is well readable because of bad > characters... So I formulate again what I meant. > > When we go to the kronolith interface then the function > listGroups($user) is called. This function is defined in > Horde/Group/Ldap.php. > Then listGroups($user) call findUserDN($user). > But at this time when we are in findUserDN() the array > $this->_config['user']['uid'] doesn't exist because we come from > Horde_Group_Ldap which has no parameter uid in the group config. > In others words there is not $conf['group']['params']['uid'] = 'uid'; > in horde/config/conf.php and it is right. > In fact it is $conf['group']['params']['memberuid'] that should be > evaluate against $user into findUserDN. But given that findUserDN is > also used for authentication, I created a new function in > Horde/Ldap.php that I call findGroupUserDN() and put into her > memberuid instead uid and replaced findUserDN by findGroupUserDN > into Horde/Group/listGroups(). > This time I have no longer the message 'bad filter' but I get the > error message : > > DN for user webadm not found > > 1. Kronolith_Ajax->init() /www/horde5/kronolith/index.php:137 > 2. Kronolith_Ajax->_addBaseVars() /www/horde5/kronolith/lib/Ajax.php:32 > 3. Kronolith::getDefaultCalendar() /www/horde5/kronolith/lib/Ajax.php:90 > 4. Kronolith::listInternalCalendars() > /www/horde5/kronolith/lib/Kronolith.php:1384 > 5. Horde_Core_Share_Driver->listShares() > /www/horde5/kronolith/lib/Kronolith.php:1265 > 6. Horde_Core_Share_Driver->__call() > /www/horde5/kronolith/lib/Kronolith.php:1265 > 7. call_user_func_array() > /www/horde5/pear/php/Horde/Core/Share/Driver.php:63 > 8. Horde_Share_Sql->listShares() > 9. Horde_Share_Sql->getShareCriteria() > /www/horde5/pear/php/Horde/Share/Sql.php:385 > 10. Horde_Share_Sql->_getUserAndGroupCriteria() > /www/horde5/pear/php/Horde/Share/Sql.php:771 > 11. Horde_Group_Ldap->listGroups() > /www/horde5/pear/php/Horde/Share/Sql.php:862 > 12. Horde_Ldap->findGroupUserDN() > /www/horde5/pear/php/Horde/Group/Ldap.php:389 > > At this stage I would be pleased to have some help. > > Best regards. > > Gérard Breiner
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