6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
1/9/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9196] H4: Userlist empty (in admin gui)
*
Your Email Address
*
Spam protection
Enter the letters below:
. . __ .___.___.__ |\ |/ `[__ [__ [__) | \|\__.[___[___[__)
Comment
> Clicking on Users in the admin GUI (logged in as an administrator to > horde), we get only an empty list (icons are visible but no username is > shown). > I tracked this problem down in the code and it seems to be the following line > in function listUsers in framework/Auth/lib/Horde/Auth/Ldap.php > $uid = Horde_String::lower($this->_params['uid']); > > See the attachment for a fix/workaround (diff -u output). > > I assume the problem is, that a Ldap query is not case sensitive. > However, the result returned from our Windows 2008 Active Directory server > has the attribute sAMAccountName. By only converting the parameter uid > (which holds sAMAccountName) to lowercase, but not the returned result too, > the line "$userlist[] = $val[$uid][0];" will fail. If conversion to lowercase > is needed for other (real) ldap implementations, ensuring to convert the > returned attributes too, will be necessary for AD to work. > > The disadvantage of the provided solution is one must enter > sAMAccountName in the config, thus having a case sensitive > configuration entry. > > best, > Harald Hutter
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