[horde] Ldap-Groups, how to set Objectclass?

Jan Schneider jan at horde.org
Thu Mar 24 21:55:05 UTC 2011

Zitat von Michael Gröne <michael.groene at zel.uni-hannover.de>:

> Hello,
> I was about, to list groups in the configuration backend, which are  
> stored in ActiveDirectory-Ldap.
> In our case the list is always empty.
> I found out, that in Horde/Group/Ldap.php the params-array is merged  
> in the __constructor with some default-settings (line 44ff).
> The problem seems to be the objectclass-setting, which is  
> "posixGroup" by default. We need this to be "group". Changing this  
> in source code works and we get the groups listed.
> So I would like to configure this in the config-backend, but there  
> is no field, I can set this value, is it?

There is a setting for that in the configuration. Select "One or more  
objectclass filters" in the $conf['group']['params']['search'] setting.

> Besides I saw, that adding/editing-code is commented out?



Do you need professional PHP or Horde consulting?

More information about the horde mailing list