grouper-users - [grouper-users] RE: Attribute Based Provisioning - PSPNG
Subject: Grouper Users - Open Discussion List
List archive
- From: "Black, Carey M." <>
- To: Drew Zebrowski <>, "" <>
- Subject: [grouper-users] RE: Attribute Based Provisioning - PSPNG
- Date: Fri, 2 Jun 2017 19:53:09 +0000
- Accept-language: en-US
- Authentication-results: spf=pass (sender IP is 128.146.138.9) smtp.mailfrom=osu.edu; internet2.edu; dkim=none (message not signed) header.d=none;internet2.edu; dmarc=pass action=none header.from=osu.edu;
- Ironport-phdr: 9a23:27aGZR0Brx2p9xnKsmDT+DRfVm0co7zxezQtwd8ZsesWLf/xwZ3uMQTl6Ol3ixeRBMOAuq0C1rOd6vu9EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQtFiT6/bL9oLBi6sArdutQYjIZiN6081gbHrnxUdupM2GhmP0iTnxHy5sex+J5s7SFdsO8/+sBDTKv3Yb02QaRXAzo6PW814tbrtQTYQguU+nQcSGQWnQFWDAXD8Rr3Q43+sir+tup6xSmaIcj7Rq06VDi+86tmTgLjhTwZPDAl7m7Yls1wjLpaoB2/oRx/35XUa5yROPZnY6/RYc8WSW9HU81MVSJOH5m8YpMPAeQfIOhYs4fzqVgArRS8BAmjGOzgxyRSiXPq2aA3yfgtHR3Y0AEmAtkAsG7UrNLwNKoKX+y40a3Iwi/fYPNVwTv29ZbFfQo7of6SXbN7bM3fxVMhGwjYiVifsojlMCmJ2eQOqWSX8vRsWOy0hm4gsAFxvyKjydkxhYnUn48YzE3P+yt+wIYwP9K4SUh7bMalEJtWqyGVKZF2QsU8TGF0pio20KMJtoOmfCUM1Z8pxAbfZuSZf4eS/h7vSeOcLSpliH54fb+/iRm//VS8xuD5WMm7zllHoylAn9TJtH0ByQLc5tCaRvdj/UqtwyuD2g/S5+1eJU05mrDXJ4Avz7IsjpYTv1rMEyzqlEjziaKbdlkr9fSm6+nifLnrqZ6ROJJxhwzxMqkjmMKyDOEkPQcVRGeU4+Kx36D580LjWrVFlPg2n7HZsJ/EIcQboba0DRdJ34gk9xqyAS6q3coBk3UaNV5FfwmIgJbzN1HJPfD4Eeywg1OxkDdt2v/KJKXhAo/KLnjfjrjuYap9609byAo119xf4I9UCq0FIPL0XU/xt8bUAQM+Mwyx2+rnCdN92Z0CWW+XHKOWKr/evUKN6+4yPuWAeYoYuDjyJvQ5+/LjiHE5lkEScKSq2JYabXK1Eup4LEmBZHrjmNYBEWMEvgokS+zqjUWPXiVXZ3moQ6085Ss3BJ+4AYrNXY2th6eB3DqhEpJIe29GF0iAEW30eIWcR/cMdCWSL9dukjweUrihVpch2g+0tAPj1rpnNfTb+jcDtZ/40Nh15vbTlQ0p9TBqFcid0meNT31qkWMSQT85wrx/rVJnxlidzKd4nq8QKdsGy+lETU8IOJTGyPNhCNG6DivHcs2EVxCUT9+8Bi4qTdMZwdIAbUtnANKkyB3PwnzuS/UajbuWHJEut7/H0mLqD8d713vc0qQ91R8rTtYFfTmpnKli7wXJQpPSnl+Cv6esaakG2iPRriGOwXfY729CVwslG4/BVHscIgP9pM709wvnCfXmXb4jOwBCj5fYcYNNccCvgFlbEqSwcO/Can68zj/jTS2DwamBOc+zIz0Q
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Drew, I think you are not looking at this the right way. ( But I am not an expert at grouper or specifically the PSPNG part.) If you have not bumped into this page, it looks relevant. Specifically I think this looks “wrong” to me. “ changeLog.consumer.pspng_secsds_gidNumber.provisionedAttributeName = gidNumber changeLog.consumer.pspng_secsds_gidNumber.provisionedAttributeValueFormat = ${new(java.util.Random).nextInt()} changeLog.consumer.pspng_secsds_gidNumber.provisionedAttributeName = uidNumber changeLog.consumer.pspng_secsds_gidNumber.provisionedAttributeValueFormat = ${new(java.util.Random).nextInt()} “ You are trying to insert random integers for the gid and uid for the user. I doubt that is really what you want. ( on every “provisioning” of the user/groups.) My guess is that you would want to assign a value ( using grouper to be the “authoritative source”) then send those values out to the connected system(s). REF:
https://spaces.internet2.edu/display/Grouper/Getting+started+with+hooks2 (Note: this is circa 2011… YMMV ) “Hooks Example - Assign a UNIX ID to Each New Group” REF:
https://spaces.internet2.edu/display/Grouper/Integer+IDs+on+Grouper+objects ( NOTE: circa 2012…. YMM Improve?, looks more civilized.
J )
“In Grouper 2.2+ the main Grouper objects in the database (groups, folders, attribute definitions, attribute names) will be assigned unique integers. These integers can be used, for instance,
as UNIX GIDs.” Hope that helps. -- Carey Matthew From: [mailto:]
On Behalf Of Drew Zebrowski We are working on a way to provision posixAccount objectclass attributes for users and are looking at using Grouper to see if we can do this. I am new to Grouper and don’t have much experience with using the PSPNG component. Here is our end-goal: Provision out the following attributes to an LDAP Person Entry. -
Generate objectclass: posixAccount -
Generate uidNumber: <Random Number> -
Generate gidNumber: <Random Number> In grouper-loader.properties, I tried the following which defines multiple attribute/value pairs. It doesn’t appear as though Grouper handles this since the LDAP returns an ObjectClass Violation. # User gidNumber Provisioning changeLog.consumer.pspng_secsds_gidNumber.class = edu.internet2.middleware.grouper.pspng.PspChangelogConsumerShim changeLog.consumer.pspng_secsds_gidNumber.type = edu.internet2.middleware.grouper.pspng.LdapAttributeProvisioner changeLog.consumer.pspng_secsds_gidNumber.quartzCron = 0 * * * * ? changeLog.consumer.pspng_secsds_gidNumber.retryOnError = true changeLog.consumer.pspng_secsds_gidNumber.ldapPoolName = secsds changeLog.consumer.pspng_secsds_gidNumber.provisionedAttributeName = objectclass changeLog.consumer.pspng_secsds_gidNumber.provisionedAttributeValueFormat = posixAccount changeLog.consumer.pspng_secsds_gidNumber.provisionedAttributeName = gidNumber changeLog.consumer.pspng_secsds_gidNumber.provisionedAttributeValueFormat = ${new(java.util.Random).nextInt()} changeLog.consumer.pspng_secsds_gidNumber.provisionedAttributeName = uidNumber changeLog.consumer.pspng_secsds_gidNumber.provisionedAttributeValueFormat = ${new(java.util.Random).nextInt()} changeLog.consumer.pspng_secsds_gidNumber.userSearchBaseDn = cn=users,o=tjuh changeLog.consumer.pspng_secsds_gidNumber.userSearchFilter = uid=${subject.id} Is this a supported function of the loader? Can it provision objectclasses along with the required attributes through the attribute provisioner or is this not designed to work that way? Has anyone done this sort of thing and is willing
to share their experience? Thanks. Drew Zebrowski Thomas Jefferson University
|
- [grouper-users] Attribute Based Provisioning - PSPNG, Drew Zebrowski, 06/02/2017
- [grouper-users] RE: Attribute Based Provisioning - PSPNG, Black, Carey M., 06/02/2017
- [grouper-users] Re: Attribute Based Provisioning - PSPNG, Bee-Lindgren, Bert, 06/02/2017
- [grouper-users] RE: Attribute Based Provisioning - PSPNG, Drew Zebrowski, 06/05/2017
- [grouper-users] Re: Attribute Based Provisioning - PSPNG, Bee-Lindgren, Bert, 06/02/2017
- [grouper-users] RE: Attribute Based Provisioning - PSPNG, Black, Carey M., 06/02/2017
Archive powered by MHonArc 2.6.19.