projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bafc10e
)
Framework: Make sure when listing LDAP users we have an array to iterate
author
Ben Klang
<ben@alkaloid.net>
Wed, 9 Jun 2010 22:12:12 +0000
(18:12 -0400)
committer
Ben Klang
<ben@alkaloid.net>
Wed, 9 Jun 2010 22:13:42 +0000
(18:13 -0400)
framework/Auth/lib/Horde/Auth/Ldap.php
patch
|
blob
|
history
diff --git
a/framework/Auth/lib/Horde/Auth/Ldap.php
b/framework/Auth/lib/Horde/Auth/Ldap.php
index
9798ccb
..
6fae771
100644
(file)
--- a/
framework/Auth/lib/Horde/Auth/Ldap.php
+++ b/
framework/Auth/lib/Horde/Auth/Ldap.php
@@
-415,8
+415,7
@@
class Horde_Auth_Ldap extends Horde_Auth_Base
* Note: You cannot override a server-side limit with this. */
$userlist = array();
try {
- $search = $this->_ldap->search($this->_params['basedn'], $filter, $params);
-
+ $search = $this->_ldap->search($this->_params['basedn'], $filter, $params)->as_struct();
$uid = Horde_String::lower($this->_params['uid']);
foreach ($search as $val) {
$userlist[] = $val[$uid][0];