AFS-like group management with FreeIPA

From Linux NFS

Revision as of 13:48, 28 September 2020 by Bfields (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

AFS allows any ordinary user amy to create groups named "amy:groupname": https://docs.openafs.org/Reference/1/pts_creategroup.html. AFS has per-user quotas limiting the number of such groups created.

It would be possible to emulate this in FreeIPA by creating a permission, privilege, and role for each individual user, though it's a little cumbersome something like:

 ipa-permission-add "create amy groups" --type=group --right=add --filter="(cn=amy-*)"
 ipa privilege-add "create amy groups"
 ipa privilege-add-perimssion --permission="create amy groups" "create amy groups"
 ipa role-add role-manage-amy-groups
 ipa role-add-member --users=amy role-manage-amy-groups
 ipa role-add-privilege --privileges="create amy groups" role-manage-amy-groups

FreeIPA permits an administrator give a given user the right to modify membership of a given group, or delegate the right to create groups to certain users.

There's no way to enforce quotas. This would require someone writing a new plugin. We're not aware of anyone working on it.

Personal tools