[Tickets #9197] Re: Group Listing returns fatal error

bugs at horde.org bugs at horde.org
Tue Sep 7 11:47:44 UTC 2010


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9197
------------------------------------------------------------------------------
  Ticket             | 9197
  Updated By         | michael.groene at zew.uni-hannover.de
  Summary            | Group Listing returns fatal error
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


michael.groene at zew.uni-hannover.de (2010-09-07 07:47) wrote:

> What kind of LDAP Implementation do you have? Maybe this applies  
> only to active directory servers.

We're using Active Directory on Windows 2003 Server.

> I assume you mean Manage Calenders and then click on the prefernces icon.

Yes.

> Well, after the git pull on 24.8. I can not see this anymore in H4.

At the moment I am using the version from 29th august.

> Nevertheless, in framework/Group/lib/Horde/Group/Ldap.php in function
>  exists($group) the call of @ldap_compare doesn't work (at least  
> with our AD).
In our setup the following error occurs:
[07-Sep-2010 13:30:50] PHP Warning:  implode(): Invalid arguments  
passed in /usr/share/php/Horde/Group/Ldap.php on line 498
(one error per Group is written)

var_dump($result); returns NULL -> where is this variable filled?
this is the function:
     public function getGroupParent($dn)
     {
         if (@ldap_explode_dn($dn, 0) === false) {
             throw new Horde_Group_Exception('Invalid group ID passed  
(bad DN syntax)');
         }
         unset($result['count'], $result[0]);

         $parent_dn = implode(',', $result);

         return (Horde_String::lower($parent_dn) ==  
Horde_String::lower($GLOBALS['conf']['group']['params']['basedn']))
             ? DATATREE_ROOT
             : $parent_dn;
     }

When I click on a Group, following error occurs:
[07-Sep-2010 13:33:27] PHP Fatal error:  Call to protected method  
Horde_Group_LdapObject::_fromAttributes() from context  
'Horde_Group_Ldap' in /usr/share/php/Horde/Group/Ldap.php on line 251

Turning _from/_toAttributes to public functions works for me (means  
Groups are "clickable", but still empty).







More information about the bugs mailing list