<?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>LDAP groups disappear inside perms</title> 
  <pubDate>Mon, 06 Apr 2026 01:10:01 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7481</link> 
  <atom:link rel="self" type="application/rss+xml" title="LDAP groups disappear inside perms" href="https://bugs.horde.org/ticket/7481/rss" /> 
  <description>LDAP groups disappear inside perms</description> 
 
   
   
  <item> 
   <title>I&#039;ve a fully working horde groupware webmail installation. U</title> 
   <description>I&#039;ve a fully working horde groupware webmail installation. User and groups are pulled from LDAP and all users/groups are found.



I can add a group to the calendar perms of my personal calendar. But after logout/login the group disappears from the permissions list. The same works with ldap users.



A little debugging revealed that the gorup id gets somewhere changed to &quot;0&quot;. Inside the data table kronolith_shares_groups it&#039;s correctly recorded with cn=...



It happens with DataTree and SQL as Permission drivers.</description> 
   <pubDate>Sun, 12 Oct 2008 13:11:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7481#t49628</link> 
  </item> 
   
  <item> 
   <title>Duplicate of bug #6883.</title> 
   <description>Duplicate of bug #6883.</description> 
   <pubDate>Sun, 19 Oct 2008 16:56:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7481#t49788</link> 
  </item> 
   
  <item> 
   <title>I have the same problem. With Horde 3.3 and group_uid field </title> 
   <description>I have the same problem. With Horde 3.3 and group_uid field as varchar according to the

solution for bug #6883. The group id (cn=...) is correctly set in the table nag_shares_groups

(this requires that the datatype is changed from integer to varchar).



It seems that the group_uid is casted to int in _getShareCriteria at line 673 in

framework/Share/Share/sql.php rev. 1.1.2.47. I don&#039;t understand how an LDAP

group id (cn=...) should be casted to int.



This is a typical error-log:

Oct 23 19:12:56 HORDE [error] [nag] MDB2 Error: unknown error: _doQuery: [Error

message: Could not execute statement]

[Last executed query: SELECT DISTINCT s.*  FROM nag_shares s  LEFT JOIN nag_shares_users

AS u ON u.share_id = s.share_id LEFT JOIN nag_shares_groups AS g ON g.share_id = s.share_id

WHERE s.share_owner = &#039;jbl&#039; OR (s.perm_creator &amp; 4) != 0 OR (s.perm_default &amp; 4) != 0 OR

( u.user_uid = &#039;jbl&#039; AND (u.perm &amp; 4) != 0) OR (g.group_uid IN (0,0,0,0,0) AND (g.perm &amp; 4) != 0)

ORDER BY s.attribute_name ASC]

[Native message: ERROR:  IN types character varying and integer cannot be matched]

 [pid 25224 on line 457 of &quot;/usr/local/www/horde/lib/Horde/Share/sql.php&quot;]





I do not think this is a duplicate of bug #6883.

</description> 
   <pubDate>Thu, 23 Oct 2008 17:56:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7481#t49912</link> 
  </item> 
   
  <item> 
   <title>&gt; I do not think this is a duplicate of bug #6883.



Of cou</title> 
   <description>&gt; I do not think this is a duplicate of bug #6883.



Of course it is. But the fix for bug #6883 has been incomplete because no one who reported it bothered to test our fixes.</description> 
   <pubDate>Thu, 23 Oct 2008 21:18:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7481#t49920</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
