Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Attribute Based Provisioning - PSPNG

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Attribute Based Provisioning - PSPNG


Chronological Thread 
  • From: Drew Zebrowski <>
  • To: "" <>
  • Subject: [grouper-users] Attribute Based Provisioning - PSPNG
  • Date: Fri, 2 Jun 2017 18:43:51 +0000
  • Accept-language: en-US
  • Authentication-results: internet2.edu; dkim=none (message not signed) header.d=none;internet2.edu; dmarc=none action=none header.from=jefferson.edu;
  • Ironport-phdr: 9a23:gJ0RRRbUmYZ6GX7yu8fhHDf/LSx+4OfEezUN459isYplN5qZr8S7bnLW6fgltlLVR4KTs6sC0LuJ9f25EjVav96oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCzbL52Lhi6twXcutQZjYd/NKo8ywbCr2dVdehR2W5mP0+YkQzm5se38p5j8iBQtOwk+sVdT6j0fLk2QKJBAjg+PG87+MPktR/YTQuS/XQcSXkZkgBJAwfe8h73WIr6vzbguep83CmaOtD2TawxVD+/4apnVAPkhSEaPDM/7WrZiNF/jLhDrRyhuRJx3pLUbo+WOvp/YqzScsgXSnBdUspNTSFNHp+wY5UJAuEcPehYtY79p14WoBWwHwmjGu3uwSJLiXDoxqI6yeMhEA/d3AwjHtIFrXPZocnzNKgPS+C60qfJwS/AYPxIwjj98o/Icx46ofGPXLJ9asjRxlchFwPLkFqQs5flPzST1ugXrWeU8vdgWPuphmU6qA9xuiCiytojh4TLnI4Z11/J+TljzIorOdG0UlN3bN6gHZdIqi2XOIl7Ttk/T2xnpCo20KMKtJC1cSQQ1ZgqxgbTZ+Kbf4WK+B7uW+ecLS1liH9kdr+znRm//Eumx+bhTMe7ykxKoTBAktTUtnACyRjT6s+fR/py4Eeh3CuD2x7Q5+1eI0A7i6TbK5A/zb4qjZoTtkLDEjXol0rrka+abkQk+u625OT7erjqu5CROo1uhg3jPakihtazDfokPgQUQmSW+eCx2KXm/ULjQbVKivM2krPesJDfPckUvKi5DBJP0ok95RezFTan38oDknkdK1JEdgmHj4voO1zVIvD3E/m/g1qynzdx3PDGObvhDo/TIXfejbftZax95FJEyAov0dBf4IpZCr4bIPL0R0/xrMLXDgUgPwyp2OboFs991pgFVGKLA6+ZK7/SsUSW6u41IumMYpMVtyjnK/gj+fHukWE1lUUDcqa0wJtEIEy/S75pOUKEeXf2x8oaHH0Rlgs4UOHwjlCeC3hea2v4F/Yz/DYmEI+8SJrYS5q2qL2HwCqhGJBKPCZLBk3aQlnycIDRd+0Bd2qgL8V7lSMfVrnpH6Yn2Qujq0nIxrB9KfXP+Swwt5/t2tVv/OrV0xw+6GonXIymz2iRQjQszSszTDgs0fUnrA==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

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

 

The information contained in this transmission contains privileged and confidential information. It is intended only for the use of the person named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.

CAUTION: Intended recipients should NOT use email communication for emergent or urgent health care matters.




Archive powered by MHonArc 2.6.19.

Top of Page