Summary | Groups not showing up with non flat LDAP directory |
Queue | Horde Groupware |
Queue Version | 1.2.5 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | Klaus.Steinberger (at) physik (dot) uni-muenchen (dot) de |
Created | 02/03/2010 (5671 days ago) |
Due | |
Updated | 07/01/2011 (5158 days ago) |
Assigned | 02/04/2010 (5670 days ago) |
Resolved | 07/01/2011 (5158 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
Groups which are in the same level as the base DN for groups are
shown ( $conf[group][params][basedn] ), but any group not in the
same level will not be shown. Though they are appear in the source
text of the website frame in the n_admin_group variable.
Maybe the code thinks they are subgroups, but there is no real parent group?
Some more debugging code added:
ay 19 15:26:59 HORDE [notice] [horde] Group name ls-vondelft [pid
20114 on line 246 of "/var/www/html/horde-3.3.8/admin/groups.php"]
May 19 15:26:59 HORDE [notice] [horde] Group parent -1 [pid 20114 on
line 254 of "/var/www/html/horde-3.3.8/admin/groups.php"]
May 19 15:26:59 HORDE [notice] [horde] Group name lsf-admins [pid
20114 on line 246 of "/var/www/html/horde-3.3.8/admin/groups.php"]
May 19 15:26:59 HORDE [notice] [horde] Group parent 0 [pid 20114 on
line 254 of "/var/www/html/horde-3.3.8/admin/groups.php"]
The group ls-vondelft is in ou=Gruppen,o=physik (same as base), but
group lsf-admins is one step deeper:
ou=ou-feldmann,ou=Gruppen,o=physik
ls-vondelft is shown in the webinterface, but group lsf-admins is not.
I think the code for subgroups should be switched off with group
driver = LDAP.
A quick test with forcing $parent_id to -1 shows that it works then.
Groups which are in the same level as the base DN for groups are shown
( $conf[group][params][basedn] ), but any group not in the same level
will not be shown. Though they are appear in the source text of the
website frame in the n_admin_group variable.
Maybe the code thinks they are subgroups, but there is no real parent group?
listGroups() to build the group tree.
State ⇒ Feedback
listGroups() to build the group tree.
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Groups not showing up with non flat LDAP directory
Queue ⇒ Horde Groupware
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
be shown under "Administration" -> "Groups".
The LDAP structure.
ou=Gruppen,o=physik contains most of the groups and is the search base
ou=someOU,ou=Gruppen,o=physik contains some more groups.
With this search base only groups in ou=Gruppen,o=physik will be
shown. With search base o=physik, no group will be shown.
I verified that listGroups() list all the groups, also permissions
work, the permission widgets show all groups! Some assumption about a
flat structure in admin/groups.php ?