grouping - OpenLDAP : ACL : Allow users to manager their own groups -
I need your advice on the LDAP structure and associated ACL.
Our LDAP 10 (Numbers may vary) Organization that includes users (total 250 users) I want 1 user to manage all users of my organization. Users will also be attached to custom groups
What is the best LDAP structure for this?
My first thoughts are: Group:
dn: cn = manager, ou = roles, ou = group class: posixgroup class: top cn: manager gidNumber: 10100 MemberUd: user1 memberUid: user3 dn: cn = Structure1, ou = structures, ou = group class: posixGroup cn: Structure1 gidNumber: 10000 Description: Structure1 memberUid: user1 memberUid: user2 dn: cn = Structure2, ou = structures, ou = group Class: posixGroup cn: Structure2 gidNumber: 10001 Description: Structure2 memberUid: memberUid user3: user4 user1 user user2 should be allowed to edit, but not user3 or u Ser4 user3 should be allowed to edit user1 but not user2
I actually stuck on ACL because I would like to do something like a group of entries using the ACL set method to the user I did not: / p>
{1} from dn.children = "ou = users" to set = "[cn =] + this / groups + [, ou = structures, ou] = group] / memberUid & amp; ; User / uid "write * read if I am able to use better groupOfNames than posixGroup
I Only read:
Thank you for guiding me in the right direction for your help
My contribution is an option to solve this situation. I know it's been a while, but I hope someone will help it. - Both groupfamas or organizational changes (previous support group) require DN as a member. OrganizationalRole olcMemberOfMemberAD: roleOccupant olcMemberOfMemberOfAD: Enable olcMemberOfGroupOC to enable groups ("Group - memberof overlay, userof operational feature on user (on any attribute in this user entry, list of groups where user is a member)" in user Is the current operational feature)
- According to the original verbs, where both actions are executed and you ensure that the user The properties of operations are the values of the group, here are 2 scenarios:
- The first scenario - User1 is allowed to write user3, ou = Users because they are cn = manager, or = roles, Group
- 2 Scenario - To write user1 user2, where = Users are allowed as they come under cn = Structure1, ou = structures, ou = group set by
type "this / group and user / group"
write this ALC The same group of Numti returns when both users (Revised and modifiers), the ACL writing privileges set will Ges. Get the value of the "user / group" modifier group attribute = CN = manager, or = user = user1, or = user
- Roles, or = group - cn = structure 1, or = structures, o = group.
-
This = Users 3, or = Users
"This / group" receives the values of the modified object group attribute. cn = manager, or = roles, ou = group and cn = structure 2, or = structures, or = group -
this = user2, ou = User
Get the value of the "Object / Group" modified object group attribute = CN = manager, or = roles, ou = group and CN = structure1, or = structures, ou = group < / Strong> I hope that this question and openldap like a few days ago would be useful for anyone who struggled with ACL.
Best regards!
Comments
Post a Comment