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 [#3695] kolab authentication, _username_hook_frombackend
*
Your Email Address
*
Spam protection
Enter the letters below:
\ /. . ..__..__ >< | |\ |[__][__) / \|___| \|| || \
Comment
> today I stumbled over a line in horde/config/hooks.php, which looks > like a bug to me: > > > > hooks.php (FRAMEWORK_3 branch) says in function > _username_hook_frombackend($userID): > > > > $result = ldap_search( > > $ds, > > $GLOBALS['conf']['kolab']['ldap']['basedn'], > > "uid=$username" > > ); > > > > although the username is given to this function as $userID rather > than $username. > > That doesn't obviosly break anything but only the userID will be > returned instead of > > the corresponding email address from ldap. This breaks the kolab > functionality if > > users login with their uid instead of their email address. > > So I changed the line (line #982 in my case) from > > "uid=$username" > > > > to > > > > "uid=$userID" > > > > Which seems to work well - at least for me. > > > > BTW: > > this is my first post to this buglist - please tell me if I did > something wrong of > > missed some important details. > > > > Oliver
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