View Issue Details

IDProjectCategoryView StatusLast Update
0002448SOGoBackend Generalpublic2016-12-20 21:27
Reporterprauscher Assigned Toludovic  
PriorityhighSeveritymajorReproducibilityhave not tried
Status closedResolutionsuspended 
PlatformLinuxOSDebianOS Version7.0
Product Version2.0.7 
Summary0002448: Decomposing LDAP-Groups does not work in ACLs
Description

ACLs for a group do not get decomposed to the specific user. I can perfectly define ACLs for groups, but users in the groups are not granted rights I granted to users.

Steps To Reproduce
  1. Create a new calendar
  2. Change ACL to grant special rights to a specific group
  3. Login as another User in this group
  4. Try to use this special rights
Additional Information

My SOGoUserSources = (
{
type = ldap;
CNFieldName = sn;
UIDFieldName = cn;
IDFieldName = cn;
baseDN = "ou=Groups,o=Junge Piraten,c=DE";
bindDN = "cn=sogo,o=Junge Piraten,c=DE";
bindPassword = "xxxxxxxxx";
canAuthenticate = YES;
displayName = "Gruppen";
hostname = ldap://storage:389;
id = jupis_groups;
isAddressBook = YES;
SearchFieldNames = (cn,sn,mail);
},
{
type = ldap;
CNFieldName = cn;
UIDFieldName = uid;
IDFieldName = uid; // first field of the DN for direct binds
baseDN = "ou=People,o=Junge Piraten,c=DE";
bindDN = "cn=sogo,o=Junge Piraten,c=DE";
bindPassword = "xxxxxxxx";
canAuthenticate = YES;
displayName = "Personen";
hostname = ldap://storage:389;
id = jupis_people;
isAddressBook = YES;
SearchFieldNames = (uid,cn,givenName,sn,mail);
}
);

As you may guess, all our Groups are stored as
objectClass=groupOfNames,extensibleObject with a mail-Attribute. Users
are stored as inetOrgPerson. Our OpenLDAPd has the memberOf-overlay
activated (and it works).

TagsNo tags attached.

Activities

prauscher

prauscher

2013-10-15 00:45

reporter   ~0006098

Last edited: 2013-10-15 12:37

It is the same problem as described in http://www.mail-archive.com/users%40sogo.nu/msg04842.html - the author here later tells "resolved itself" - until now, this is not the case in my installation. :-(

prauscher

prauscher

2013-10-22 00:01

reporter   ~0006150

maybe related to 0002032

prauscher

prauscher

2013-10-22 01:01

reporter   ~0006151

This Bug does not occur when using groupOfUniqueNames. Now you may decide if this is bad documentation or bad code ;-)

ludovic

ludovic

2016-12-20 21:27

reporter   ~0011056

Reopen if necessary, but the code to handle groupofnames is there, and is generic (so the same as groupofuniquenames).

Issue History

Date Modified Username Field Change
2013-10-14 15:18 prauscher New Issue
2013-10-15 00:45 prauscher Note Added: 0006098
2013-10-15 12:37 francis Note Edited: 0006098
2013-10-22 00:01 prauscher Note Added: 0006150
2013-10-22 01:01 prauscher Note Added: 0006151
2016-12-20 21:27 ludovic Note Added: 0011056
2016-12-20 21:27 ludovic Status new => closed
2016-12-20 21:27 ludovic Assigned To => ludovic
2016-12-20 21:27 ludovic Resolution open => suspended