<?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>Group LDAP backend returns error for &quot;Empty result&quot;</title> 
  <pubDate>Thu, 09 Apr 2026 22:17:55 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6362</link> 
  <atom:link rel="self" type="application/rss+xml" title="Group LDAP backend returns error for &quot;Empty result&quot;" href="https://bugs.horde.org/ticket/6362/rss" /> 
  <description>Group LDAP backend returns error for &quot;Empty result&quot;</description> 
 
   
   
  <item> 
   <title>The function getGroupMemberships of the Horde/Group/ldap.php</title> 
   <description>The function getGroupMemberships of the Horde/Group/ldap.php returns an error where the result of a query is empty. I&#039;m not sure if this behaviour is correct, I manage a LDAP where the majority of the users don&#039;t are members of a group (but have a primaryGroup attribute in their user entry).



I suggest to return array(); instead of the error.



I attach a patch for the version 1.18.2.2 of the file (I hope it will be ok for newer versions).</description> 
   <pubDate>Mon, 03 Mar 2008 13:53:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6362#t43345</link> 
  </item> 
   
  <item> 
   <title>Makes sense - committed, thanks.</title> 
   <description>Makes sense - committed, thanks.</description> 
   <pubDate>Tue, 04 Mar 2008 20:58:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6362#t43377</link> 
  </item> 
   
  <item> 
   <title>This isn&#039;t showing up in version 3.3. I had to apply the pat</title> 
   <description>This isn&#039;t showing up in version 3.3. I had to apply the patch to this version to get rid of that message.



&gt; The function getGroupMemberships of the Horde/Group/ldap.php returns 

&gt; an error where the result of a query is empty. I&#039;m not sure if this 

&gt; behaviour is correct, I manage a LDAP where the majority of the users 

&gt; don&#039;t are members of a group (but have a primaryGroup attribute in 

&gt; their user entry).

&gt;

&gt; I suggest to return array(); instead of the error.

&gt;

&gt; I attach a patch for the version 1.18.2.2 of the file (I hope it will 

&gt; be ok for newer versions).

</description> 
   <pubDate>Wed, 05 Nov 2008 13:37:46 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6362#t50278</link> 
  </item> 
   
  <item> 
   <title>The original ticket was about getGroupMemberships, and that </title> 
   <description>The original ticket was about getGroupMemberships, and that function is patched. Where are you seeing an issue?</description> 
   <pubDate>Wed, 05 Nov 2008 19:46:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6362#t50291</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
