<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>H4: Userlist empty (in admin gui)</title> 
  <pubDate>Fri, 10 Apr 2026 13:36:22 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9196</link> 
  <atom:link rel="self" type="application/rss+xml" title="H4: Userlist empty (in admin gui)" href="https://bugs.horde.org/ticket/9196/rss" /> 
  <description>H4: Userlist empty (in admin gui)</description> 
 
   
   
  <item> 
   <title>Clicking on Users in the admin GUI (logged in as an administ</title> 
   <description>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-&gt;_params[&#039;uid&#039;]);

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 &quot;$userlist[] = $val[$uid][0];&quot; 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</description> 
   <pubDate>Tue, 24 Aug 2010 16:26:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9196#t59719</link> 
  </item> 
   
  <item> 
   <title>Should be fixed with my latest commits to the auth ldap driv</title> 
   <description>Should be fixed with my latest commits to the auth ldap driver.</description> 
   <pubDate>Mon, 20 Sep 2010 17:02:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9196#t60065</link> 
  </item> 
   
  <item> 
   <title>&gt; Should be fixed with my latest commits to the auth ldap dr</title> 
   <description>&gt; Should be fixed with my latest commits to the auth ldap driver.

I&#039;m not able to verify this, because after a git pull followd by install_dev today, I get the following error in the apache log:
 PHP Catchable fatal error:  Argument 1 passed to Horde_Ldap_Filter::build() must be an array, null given, called in /srv/www/htdocs/github/horde/framework/Ldap/lib/Horde/Ldap.php on line 864 and defined in /srv/www/htdocs/github/horde/framework/Ldap/lib/Horde/Ldap/Filter.php on line 274, referer: http://myserver.domain/horde/login.php

In the browser I have only an empty page.
</description> 
   <pubDate>Wed, 22 Sep 2010 15:00:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9196#t60117</link> 
  </item> 
   
  <item> 
   <title>You didn&#039;t update your configuration.</title> 
   <description>You didn&#039;t update your configuration.</description> 
   <pubDate>Wed, 22 Sep 2010 16:06:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9196#t60119</link> 
  </item> 
   
  <item> 
   <title>&gt; You didn&#039;t update your configuration.
I removed turba and</title> 
   <description>&gt; You didn&#039;t update your configuration.
I removed turba and nag conf.php and copied horde conf.php.dist to conf.php.
The I reconfigured all the staff in the horde configuration.

After selecting Generate Configuration I&#039;m thrown out because I&#039;m not an administrator (this is ok).
Logging in again I get an empty page again with the following error in the apache log:
PHP Catchable fatal error:  Argument 1 passed to Horde_Ldap_Filter::build() must be an array, null given, called in /srv/www/htdocs/github/horde/framework/Ldap/lib/Horde/Ldap.php on line 864 and defined in /srv/www/htdocs/github/horde/framework/Ldap/lib/Horde/Ldap/Filter.php on line 274, referer: http://caltest2.ihs.ac.at/horde/login.php

My filter settings in the conf.php are:
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;filter&#039;] = &#039;(&amp;(&amp;(objectclass=user)(!(objectclass=computer))))&#039;;
$conf[&#039;group&#039;][&#039;params&#039;][&#039;search&#039;][&#039;filter&#039;] = &#039;(&amp;(&amp;(objectclass=group)(objectclass=top)))&#039;;
$conf[&#039;group&#039;][&#039;params&#039;][&#039;search&#039;][&#039;filter_type&#039;] = &#039;filter&#039;;

These settings worked before the git pull.
 Harald </description> 
   <pubDate>Thu, 23 Sep 2010 14:05:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9196#t60129</link> 
  </item> 
   
  <item> 
   <title>Please paste the *complete* ldap, auth, and group config set</title> 
   <description>Please paste the *complete* ldap, auth, and group config settings.</description> 
   <pubDate>Thu, 23 Sep 2010 16:15:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9196#t60132</link> 
  </item> 
   
  <item> 
   <title>&gt; Please paste the *complete* ldap, auth, and group config s</title> 
   <description>&gt; Please paste the *complete* ldap, auth, and group config settings.
Settings (Hostnames, user and password obfuscated):

$conf[&#039;ldap&#039;][&#039;hostspec&#039;] = &#039;DC1.subdomain.ihs.ac.at DC2.subdomain.ihs.ac.at&#039;;
$conf[&#039;ldap&#039;][&#039;tls&#039;] = false;
$conf[&#039;ldap&#039;][&#039;version&#039;] = 3;
$conf[&#039;ldap&#039;][&#039;binddn&#039;] = &#039;binduser&#039;;
$conf[&#039;ldap&#039;][&#039;bindpw&#039;] = &#039;bindpassword&#039;;
$conf[&#039;ldap&#039;][&#039;bindas&#039;] = &#039;admin&#039;;
$conf[&#039;ldap&#039;][&#039;useldap&#039;] = true;
$conf[&#039;auth&#039;][&#039;admins&#039;] = array(&#039;adm1&#039;, &#039;adm2&#039;, &#039;adm3&#039;, &#039;adm4&#039;);
$conf[&#039;auth&#039;][&#039;checkip&#039;] = true;
$conf[&#039;auth&#039;][&#039;checkbrowser&#039;] = true;
$conf[&#039;auth&#039;][&#039;alternate_login&#039;] = false;
$conf[&#039;auth&#039;][&#039;redirect_on_logout&#039;] = false;
$conf[&#039;auth&#039;][&#039;list_users&#039;] = &#039;list&#039;;
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;hostspec&#039;] = &#039;DC1.subdomain.ihs.ac.at DC2.subdomain.ihs.ac.at&#039;;
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;tls&#039;] = false;
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;version&#039;] = 3;
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;binddn&#039;] = &#039;binduser&#039;;
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;bindpw&#039;] = &#039;bindpassword&#039;;
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;bindas&#039;] = &#039;admin&#039;;
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;basedn&#039;] = &#039;ou=xyz,dc=subdomain,dc=ihs,dc=ac,dc=at&#039;;
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;scope&#039;] = &#039;sub&#039;;
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;ad&#039;] = true;
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;uid&#039;] = &#039;sAMAccountName&#039;;
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;encryption&#039;] = &#039;ssha&#039;;
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;newuser_objectclass&#039;] = array(&#039;shadowAccount&#039;, &#039;inetOrgPerson&#039;);
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;filter&#039;] = &#039;(&amp;(&amp;(objectclass=user)(!(objectclass=computer))))&#039;;
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;password_expiration&#039;] = &#039;no&#039;;
$conf[&#039;auth&#039;][&#039;params&#039;][&#039;driverconfig&#039;] = &#039;custom&#039;;
$conf[&#039;auth&#039;][&#039;driver&#039;] = &#039;ldap&#039;;
$conf[&#039;group&#039;][&#039;params&#039;][&#039;hostspec&#039;] = &#039;DC1.subdomain.ihs.ac.at DC2.subdomain.ihs.ac.at&#039;;
$conf[&#039;group&#039;][&#039;params&#039;][&#039;tls&#039;] = false;
$conf[&#039;group&#039;][&#039;params&#039;][&#039;version&#039;] = 3;
$conf[&#039;group&#039;][&#039;params&#039;][&#039;binddn&#039;] = &#039;binduser&#039;;
$conf[&#039;group&#039;][&#039;params&#039;][&#039;bindpw&#039;] = &#039;bindpassword&#039;;
$conf[&#039;group&#039;][&#039;params&#039;][&#039;bindas&#039;] = &#039;admin&#039;;
$conf[&#039;group&#039;][&#039;params&#039;][&#039;basedn&#039;] = &#039;ou=ABC,ou=XYZ,dc=subdomain,dc=ihs,dc=ac,dc=at&#039;;
$conf[&#039;group&#039;][&#039;params&#039;][&#039;scope&#039;] = &#039;sub&#039;;
$conf[&#039;group&#039;][&#039;params&#039;][&#039;gid&#039;] = &#039;cn&#039;;
$conf[&#039;group&#039;][&#039;params&#039;][&#039;memberuid&#039;] = &#039;memberUid&#039;;
$conf[&#039;group&#039;][&#039;params&#039;][&#039;attrisdn&#039;] = false;
$conf[&#039;group&#039;][&#039;params&#039;][&#039;newgroup_objectclass&#039;] = array(&#039;posixGroup&#039;, &#039;hordeGroup&#039;);
$conf[&#039;group&#039;][&#039;params&#039;][&#039;search&#039;][&#039;filter&#039;] = &#039;(&amp;(&amp;(objectclass=group)(objectclass=top)))&#039;;
$conf[&#039;group&#039;][&#039;params&#039;][&#039;search&#039;][&#039;filter_type&#039;] = &#039;filter&#039;;
$conf[&#039;group&#039;][&#039;params&#039;][&#039;driverconfig&#039;] = &#039;custom&#039;;
$conf[&#039;group&#039;][&#039;driver&#039;] = &#039;ldap&#039;;
$conf[&#039;group&#039;][&#039;cache&#039;] = false;
</description> 
   <pubDate>Thu, 23 Sep 2010 16:33:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9196#t60135</link> 
  </item> 
   
  <item> 
   <title>Looks good (though I wonder why don&#039;t use the LDAP default c</title> 
   <description>Looks good (though I wonder why don&#039;t use the LDAP default configuration in auth and groups). Still can&#039;t reproduce it though. Can you post a backtrace from the place where the error is raised?</description> 
   <pubDate>Thu, 23 Sep 2010 16:58:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9196#t60136</link> 
  </item> 
   
  <item> 
   <title>&gt; Looks good (though I wonder why don&#039;t use the LDAP default</title> 
   <description>&gt; Looks good (though I wonder why don&#039;t use the LDAP default 
&gt; configuration in auth and groups). Still can&#039;t reproduce it though. 
&gt; Can you post a backtrace from the place where the error is raised?


Mhhhmm, not sure what you mean with backtrace...

When I log in as admin I get an empty page, the error is from the apache log, there is nothing in the horde log.</description> 
   <pubDate>Thu, 23 Sep 2010 17:24:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9196#t60137</link> 
  </item> 
   
  <item> 
   <title>&gt; Mhhhmm, not sure what you mean with backtrace...

Add a:</title> 
   <description>&gt; Mhhhmm, not sure what you mean with backtrace...

Add a:
var_dump(debug_backtrace());
statement on line 864 of /srv/www/htdocs/github/horde/framework/Ldap/lib/Horde/Ldap.php (right about the build() call) and post (or better upload) the output here.</description> 
   <pubDate>Fri, 24 Sep 2010 08:09:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9196#t60146</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Mhhhmm, not sure what you mean with backtrace...
&gt;
&gt; Ad</title> 
   <description>&gt;&gt; Mhhhmm, not sure what you mean with backtrace...
&gt;
&gt; Add a:
&gt; var_dump(debug_backtrace());
&gt; statement on line 864 of 
&gt; /srv/www/htdocs/github/horde/framework/Ldap/lib/Horde/Ldap.php (right 
&gt; about the build() call) and post (or better upload) the output here.

Lines 862 to 865 are:
        $filter = Horde_Ldap_Filter::combine(
            &#039;and&#039;,
            array(Horde_Ldap_Filter::build($this-&gt;_config[&#039;user&#039;]),
                  Horde_Ldap_Filter::create($this-&gt;_config[&#039;user&#039;][&#039;uid&#039;], &#039;equals&#039;, $user)));

Putting var_dump between &#039;and&#039; and &#039;array&#039; breaks the syntax (uexpected &#039;;&#039;). I placed it immediately before &#039;filter&#039;.

Attached an obfuscated (usernames, pw&#039;s, servernames..) backtrace.</description> 
   <pubDate>Mon, 27 Sep 2010 09:39:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9196#t60189</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt; Mhhhmm, not sure what you mean with backtrace...
&gt;&gt;
&gt;&gt;</title> 
   <description>&gt;&gt;&gt; Mhhhmm, not sure what you mean with backtrace...
&gt;&gt;
&gt;&gt; Add a:
&gt;&gt; var_dump(debug_backtrace());
&gt;&gt; statement on line 864 of
&gt;&gt; /srv/www/htdocs/github/horde/framework/Ldap/lib/Horde/Ldap.php (right
&gt;&gt; about the build() call) and post (or better upload) the output here.
&gt;
&gt; Lines 862 to 865 are:
&gt;         $filter = Horde_Ldap_Filter::combine(
&gt;             &#039;and&#039;,
&gt;             array(Horde_Ldap_Filter::build($this-&gt;_config[&#039;user&#039;]),
&gt;                   
&gt; Horde_Ldap_Filter::create($this-&gt;_config[&#039;user&#039;][&#039;uid&#039;], &#039;equals&#039;, 
&gt; $user)));
&gt;
&gt; Putting var_dump between &#039;and&#039; and &#039;array&#039; breaks the syntax 
&gt; (uexpected &#039;;&#039;). I placed it immediately before &#039;filter&#039;.
&gt;
&gt; Attached an obfuscated (usernames, pw&#039;s, servernames..) backtrace.


I tried to start with a new configuration (copied horde/conf/conf.php.dist to conf.php), just to make sure there is nothing messed up, ut got the error again.
The comment above the function findUserDN says: 
&#039;This method requires the &#039;user&#039; configuration parameter to be set.&#039;

What is meant with this? Where should I find this configuration parameter? grepping my conf.xml I couldn&#039;t find a parameter &#039;user&#039; nor does &#039;grep config conf.xml | grep user&#039; or &#039;grep &quot;name=\&quot;user\&quot;&quot; conf.xml find anyting which seems to be useful.
</description> 
   <pubDate>Wed, 20 Oct 2010 16:39:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9196#t60493</link> 
  </item> 
   
  <item> 
   <title>

&gt;&gt;&gt;&gt; Mhhhmm, not sure what you mean with backtrace...
&gt;</title> 
   <description>

&gt;&gt;&gt;&gt; Mhhhmm, not sure what you mean with backtrace...
&gt;&gt;&gt;
&gt;&gt;&gt; Add a:
&gt;&gt;&gt; var_dump(debug_backtrace());
&gt;&gt;&gt; statement on line 864 of
&gt;&gt;&gt; /srv/www/htdocs/github/horde/framework/Ldap/lib/Horde/Ldap.php (right
&gt;&gt;&gt; about the build() call) and post (or better upload) the output here.
&gt;&gt;
&gt;&gt; Lines 862 to 865 are:
&gt;&gt;         $filter = Horde_Ldap_Filter::combine(
&gt;&gt;             &#039;and&#039;,
&gt;&gt;             array(Horde_Ldap_Filter::build($this-&gt;_config[&#039;user&#039;]),
&gt;&gt;
&gt;&gt; Horde_Ldap_Filter::create($this-&gt;_config[&#039;user&#039;][&#039;uid&#039;], &#039;equals&#039;,
&gt;&gt; $user)));
&gt;&gt;
&gt;&gt; Putting var_dump between &#039;and&#039; and &#039;array&#039; breaks the syntax
&gt;&gt; (uexpected &#039;;&#039;). I placed it immediately before &#039;filter&#039;.
&gt;&gt;
&gt;&gt; Attached an obfuscated (usernames, pw&#039;s, servernames..) backtrace.
&gt;
&gt;
&gt; I tried to start with a new configuration (copied 
&gt; horde/conf/conf.php.dist to conf.php), just to make sure there is 
&gt; nothing messed up, ut got the error again.
&gt; The comment above the function findUserDN says:
&gt; &#039;This method requires the &#039;user&#039; configuration parameter to be set.&#039;
&gt;
&gt; What is meant with this? Where should I find this configuration 
&gt; parameter? grepping my conf.xml I couldn&#039;t find a parameter &#039;user&#039; 
&gt; nor does &#039;grep config conf.xml | grep user&#039; or &#039;grep &quot;name=\&quot;user\&quot;&quot; 
&gt; conf.xml find anyting which seems to be useful.
&gt;

Hello,

I have the same problem after a &quot;git pull&quot;. It happens after login, I get a page with tis message :

PHP Catchable fatal error:  Argument 1 passed to 
Horde_Ldap_Filter::build() must be an array, null given, called in 
/srv/www/htdocs/github/horde/framework/Ldap/lib/Horde/Ldap.php on line 
864 and defined in 
/srv/www/htdocs/github/horde/framework/Ldap/lib/Horde/Ldap/Filter.php 
on line 274

An idea please ?

Best regards

Gerard </description> 
   <pubDate>Tue, 16 Nov 2010 14:24:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9196#t60860</link> 
  </item> 
   
  <item> 
   <title>Is anybody still seeing this in the latest releases?</title> 
   <description>Is anybody still seeing this in the latest releases?</description> 
   <pubDate>Wed, 18 May 2011 16:25:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9196#t64812</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
