Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] PSPNG how to provision only direct members

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] PSPNG how to provision only direct members


Chronological Thread 
  • From: Sam Erie <>
  • To: "Bee-Lindgren, Bert" <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] PSPNG how to provision only direct members
  • Date: Wed, 25 Jul 2018 10:07:10 -0800
  • Ironport-phdr: 9a23:eqeYoRSKdYpkiX03tvXXsJT24tpsv+yvbD5Q0YIujvd0So/mwa6yZBaN2/xhgRfzUJnB7Loc0qyK6/6mATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfbJ/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4rx1QxH0ligIKz858HnWisNuiqJbvAmhrAF7z4LNfY2ZKOZycqbbcNgHR2ROQ9xRWjRDDYOyb4UBAekPM/tGoYbhvFYBtweyCBO2Ce/z1jNFhHn71rA63eQ7FgHG2RQtEc8Uv3TRsd77O70SUeGrw6LVyjjDdO1Z2S386IfWaR0uu/WMUqhrccrS00YjDR3KgUiNqYH8OT6ey+cDs3CD4uZ+VO+jl2wqpgR/ojWs3cgglozEi40JxlzY+yh0xZo6KcG5RUN+ZNOoDpVduiCcOoBrWM0tWXtotzw/yrAeuZ60YiwKyJM/yh7acfOHcoyI7gvkVOaQPTt0nX1kdKyxihuz60Sgxer8Vs670FZOsCVJiMXDtncI1xDL68iHTOVy/lu51DqR1g3f9uNJLEU6lafYMJEt3rs9m5UPvUjfECL7nVn5gLOXe0gh/+Wk9erqb7T+qp+ZLYB0iwX+Mqo0msy4BOQ1KhMOUHaB+eS9yrLu5lf2QLFQgf0tkanWqorWKtoGqa6kGwNVyJos6w6jDze619QVhXYHLEhCeBKal4jmJUvOLOnlDfeknVusiixryuvCPr3gGZXNMmPDnKn7cbZ87U5c1BQ8zcpZ551KFrENPuj/VVHsu9zFXVcFNFn+6evqTfF80I8RQ2+JRuezPbnO+xfc7O81P6+GaYJQvDf7J/c/6vjGin4l31AUYaSi3d0aZG3uTdp8JEDMWnPpyvobEGpC6hEzVu3noFSGWCVQbjC/U79qtWJzM56vEYqWHtPlu7eGxiruW8QOPm0=

Bert I really appreciate this explanation, it clears the why of this issue up for me. I am a student employee at the University here, and I am putting together a demo of Grouper with many functions, some which will most likely never see production. This particular function is not for policy groups, but for organization of policy and potentially other groupings. I only meant unwieldy in the way that the Organizational Groups I am provisioning are more for convenience of ldap viewers to see the organization of large groups and groups of groups, so flattened groups of say all UA_Employees would not be useful to the human eye.

I did add a property to the ProvisionerConfiguration class and added (and removed) some code to allow for provisioning of only direct groups when a directOnly property is set. These changes work well enough for my demo, though I still have a problem with removing the changelogs for indirect members that would have been provisioned and it creates a retry loop that is not fit for production.

I will be showcasing my demo soon to some people at the University who are much more experienced with LDAP and the way our University uses these group objects than myself. If it is determined that this particular function should move forward I will look into exactly what we need and why, and move forward with creating a Jira.

Thank you,

-Sam Erie

On Wed, Jul 25, 2018 at 7:47 AM, Bee-Lindgren, Bert <> wrote:

There is no way today to configure PSPNG to provision nested grouper groups as nested ldap groups.


There are three main reasons for this:

1) LDAP servers often do not unwind the nesting, so applications need to have code to identify and handle nested groups. I know Active Directory does flatten memberships for applications, so this doesn't apply to your use case, but just explains why other LDAP servers don't benefit.


2) The "only provision subject memberships" approach works across all groups (composite, etc) while other group types would need to be handled separately because group-math, etc cannot be represented within most (all?) ldap servers.


3) When groups are nested, they obviously all need to be provisioned into the target LDAP server, complicating the marking of groups for provisioning or making the resultant groups incomplete.



I understand the awesome transparency that comes from seeing group-nesting within the LDAP server. And there might be some performance benefits, as there are when nested-groups are used within grouper-loader-maintained groups. However, only policy groups "should" be provisioned into LDAP, and those tend to be downstream of Group Math and, therefore, need to be flattened. Also, with PSPNG doing the work, I'm not sure how "unwieldy" flattened provisioning really is.


In other words, a new setting can probably be added to nest groups when possible, but the many nestings within Grouper will not actually be able to be represented. 


Let us know what you think and create a Jira if you still wish to see the setting added.


Sincerely,

  Bert Bee-Lindgren






From: <> on behalf of Sam Erie <>
Sent: Friday, July 6, 2018 8:38 PM
To:
Subject: [grouper-users] PSPNG how to provision only direct members
 
I am bumping this in hopes a more clear subject will get me a response.

Is there a way to only provision direct memberships (immediateMembers)?

I have PSPNG set up for some Organizational Groups in AD. The provisioning is working correctly, however the AD Groups are getting all memberships from the Grouper Groups, direct and indirect.

These are major Organizational Groups that need to hold many groups of groups. It will get unwieldy very quickly if it adds every child (indirect member) as a member.




Archive powered by MHonArc 2.6.19.

Top of Page