Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Trying to use PSPNG for bushy provisioning to Active Directory. Grouper version 2.3.0

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Trying to use PSPNG for bushy provisioning to Active Directory. Grouper version 2.3.0


Chronological Thread 
  • From: "Crawford, Jeffrey" <>
  • To: " Mailing List" <>
  • Subject: Re: [grouper-users] Trying to use PSPNG for bushy provisioning to Active Directory. Grouper version 2.3.0
  • Date: Thu, 16 Aug 2018 14:56:22 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:ExEkzRCs/Nn1puCYWbcKUyQJP3N1i/DPJgcQr6AfoPdwSPX9ocbcNUDSrc9gkEXOFd2Cra4c1ayO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUhTexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4aV2Rx/ykCoJNyA3/nzLisJ+j6xboQ6uqBNkzo7OfI2VMeBzcr/Bcd4YQ2dKQ8ZfVzZGAoO5d4YDAfQMPfxCoIjzqVsOqgG+ChS0COjyzjFHmHH23aMg0+s/EQDK0hErEtUMsHvIttX6LqkTUe6yzKnS0DrOdPJW2Svn5IjVbh8hpeuDUahufsXM1EkiDgXIhUiTp4z9Jz6Y2fgBv3KG4+Z8V++jkW8qpgVrrjSy2MsglJHFipwUx1zY9yh0xYg1KcGlREJnZNOoDoVfuiCfOoZ2WMwvRn1ntSI7x7EYvJO2cycHxZcjyhPadfCKd4iF4hzmWeuROzh1hnxodKqxhxms8kWs1ujxW8y73VlXsCVIktzBu3IQ2xHR6cWKT/lw80m91juA0g3c9u9ELE82mKfdNpUv2KQ/loAJvkTGBiL2mFv5jKuRdkg84ual9+Ppbqnpq5OFKYJ6kxzyPr0pmsOkH+s0KA8OX3WH+eun073j4Ev5T6hQgv0uiKnZt4zaKtoHqa6lAg9V1YAj5wy4Dze7zNQYmX4HLFVGeB6dk4fpPFTOLOj5Dfe5nVusjC9myv/aMrH7H5nBMnrOnK3gcLt58UJQ1RQ/wc5H65JREL4BIfbzWkHrtNzfCx80Kw60zPr9CNpn2IIeV2WPArWEP67JsF+I+vgjI/SQa48RojnxMeYq6OPzjXMhg18SYbGp3YcLaHC/BvlmLF+ZYX3xgtcZD2gKpBMyTPHxiFKcSz5TfG2/X6Y95jEgFIKmFpnPSpqsgLyHwCe0AIdWZmZYBVCQD3vkbZuLVOoRaHHaHsg02DMeUqW5RpVkyAqjrhTSyrx7I/DS9zFC85/vyZBQ7uzXlBc9vRh1FNjXmzWCVWZphm4SAiIt0bpkiU171lqZ16Vk2bpVGcEFtN1TVQJvf7XGxvN0DMr+Hkrjc9mHUlu3CJ3yAzorR80/xMUCS0dhXcipihmF0ia3VexG34eXDYA5p/qPl0P6INxwni6cjvsokkUmT81TNGavmq948U3JCpXUl1mCyfr4brwSiSjK8mrLjXGDuk1VSkZRae3ERjheAymettHl/gXHRr6qB64gN15DwtSLNaVNcNHBjEkAWfznMZLTb3/i02o=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

In the section were you define the dn, you can use some classes to manipulate the string like so:

 

${utils.bushyDn(group.name, "cn", "ou").substring(0, utils.bushyDn(group.name, "cn", "ou").length()-"OU=orgs,OU=rad,OU=ds

, ".length())}

 

Jeffrey

 

 

From: <> on behalf of Siju Jacob <>
Date: Monday, August 13, 2018 at 3:06 PM
To: " Mailing List" <>
Cc: Omer Almatary <>, Nazeer Syed <>, Cyril Phillips <>
Subject: [grouper-users] Trying to use PSPNG for bushy provisioning to Active Directory. Grouper version 2.3.0

 

Hi Team,

     We are using grouper 2.3.0. I am trying to do bushy provisioning of all the groups in grouper stem ds:rad:orgs to active directory.

 

One of the example group with in the ds:rad:orgs stem is as below

 

Root à ds:rad:orgs:10056:10059:ru-FASN - Biological Sciences_Faculty

 

Folder in Active directory to provision all the groups is OU=orgs,OU=Groups,DC=rad,DC=rutgers,DC=edu

 

 

Expected hierarchy in active directory is 

CN=ru-FASN - Biological Sciences_Faculty,OU=10059,OU=10056,OU=orgs,OU=Groups,DC=rad,DC=rutgers,DC=edu

 

Somehow its provisioning to active directory as below

 

CN=ru-FASN - Biological Sciences_Faculty,

OU=10059,OU=10056,OU=orgs,OU=rad,OU=ds,OU=orgs,OU=Groups,DC=rad,DC=rutgers,DC=edu

 

How could I avoid the OU=orgs,OU=rad,OU=ds from the dn name while being provisioned to active directory and achieve the

below name as dn. Basiaclly how could I avaoid the owner folder name value from dn

CN=ru-FASN - Biological Sciences_Faculty,OU=10059,OU=10056,OU=orgs,OU=Groups,DC=rad,DC=rutgers,DC=edu

 

Below is my grouper loader.properties entry

 

####################################                                                                                              

## PSPNG                                                                                                                           

####################################                                                                                              

# Active Directory Changelog Consumer -- Group Provisioner

changeLog.consumer.pspng_activedirectory.class = edu.internet2.middleware.grouper.pspng.PspChangelogConsumerShim

changeLog.consumer.pspng_activedirectory.type = edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner

changeLog.consumer.pspng_activedirectory.quartzCron = 0 * * * * ?

changeLog.consumer.pspng_activedirectory.ldapPoolName = rutgers

changeLog.consumer.pspng_activedirectory.memberAttributeName = member

changeLog.consumer.pspng_activedirectory.memberAttributeValueFormat = ${ldapUser.getDn()}

changeLog.consumer.pspng_activedirectory.groupAttributeName = memberOf

changeLog.consumer.pspng_activedirectory.groupSearchBaseDn = OU=Orgs,OU=Groups,DC=TestRad,DC=Rutgers,DC=Edu

changeLog.consumer.pspng_activedirectory.allGroupsSearchFilter = objectclass=group

changeLog.consumer.pspng_activedirectory.singleGroupSearchFilter = (&(objectclass=group)(cn=${grouperUtil.extensionFromName(name)}))

changeLog.consumer.pspng_activedirectory.groupCreationLdifTemplate = dn: ${utils.bushyDn(group.name,"cn","ou")}||cn: ${grouperUtil.extensionFromName(name)}||objectclass: group

changeLog.consumer.pspng_activedirectory.userSearchBaseDn = OU=people,DC=TestRad,DC=rutgers,DC=edu

changeLog.consumer.pspng_activedirectory.userSearchFilter = employeeID=${subject.id}

changeLog.consumer.pspng_activedirectory.userSearchAttributes = dn,cn,distinguishedName,uid,uidNumber,mail,samAccountName,objectclass,employeeID

changeLog.consumer.pspng_activedirectory.isActiveDirectory = true

# Active Directory Changelog Consumer -- User Attribute Provisioner

changeLog.consumer.pspng_attributes.class = edu.internet2.middleware.grouper.pspng.PspChangelogConsumerShim

changeLog.consumer.pspng_attributes.type = edu.internet2.middleware.grouper.pspng.LdapAttributeProvisioner

changeLog.consumer.pspng_attributes.quartzCron = 0 * * * * ?

changeLog.consumer.pspng_attributes.retryOnError = true

changeLog.consumer.pspng_attributes.ldapPoolName = rutgers

changeLog.consumer.pspng_attributes.provisionedAttributeName = memberOf

changeLog.consumer.pspng_attributes.provisionedAttributeValueFormat = ${grouperUtil.extensionFromName(name)}

changeLog.consumer.pspng_attributes.userSearchBaseDn = OU=people,DC=TestRad,DC=rutgers,DC=edu

changeLog.consumer.pspng_activedirectory.userSearchFilter = employeeID=${subject.id}

changeLog.consumer.pspng_attributes.userSearchAttributes = dn,cn,distinguishedName,uid,uidNumber,mail,samAccountName,objectclass,employeeID

changeLog.consumer.pspng_attributes.isActiveDirectory = true

 

 

Below is my provision to attribute definition

 

cid:image001.png@01D4332E.B447E5F0

 

     Any advice or guidance will be of great help and would be greatly appreciated..!

 

Thanks,

Siju Jacob

 

 

 




Archive powered by MHonArc 2.6.19.

Top of Page