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: Siju Jacob <>
  • To: "Crawford, Jeffrey" <>, " 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 18:41:31 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:T/bq3RQTTaS3KJiXFKuYP1v+FNpsv+yvbD5Q0YIujvd0So/mwa67ZBaGt8tkgFKBZ4jH8fUM07OQ7/i+HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba9zIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KpwVhTmlDkIOCI48GHPi8x/kqRboA66pxdix4LYeZyZOOZicq/Ye94RWGhPUdtLVyFZAo2ycZYBD/YPM+hboYnypVoOogexCgS3HuPj1iNEi2Xq0aEm0eksFxzN0gw6H9IJtXTZtMj7NKYQUeCo0aLGyS/MYO9R2Tjm9YPFdQshofOOUL5sb8bc0k4vFwLZjlmKs4zlIi+V1usTvGiB9OpsT/yghHM6qwxopDWk28QiipHRi44L0F/I6Th1zYMoKdGlVUJ2ZNCkHZRMuy2GMoZ2TN0tTmF1tCs/z7ALu4C3cSkSxJg62RLSaOaLfomS7h/tVuudOyp0iGxldb6niRa970utxvH5W8Sx3lZHritIncXJu30D1xHT5MqKR/5880qjwzmAywXe5+FYLU8oj6XWLYMqzKQqmZoJq0vDGzf7mEXog6+ScUUp4vCm5vjgbLn6ppKQLoF6hAbwP6g3ncywGvo3PhIJX2iG5eSzz7rj/VD/QLpXlPE2irPZsJfGJcsFuqG5Hw5V0oEl6xqlCDemzcgYnX0ALFJCexKLlZTmO1bLIPzgDPe/hUqjkCtzyvzYJLLtHojBI33enLv8YLpw7kBcxQUvwdxD4p9UBK8OLfLuVkL0sdHVDAE1Pg2sz+biEtp914ceWWyVAq+eNaPfqUSI5uAtLuWQeoMYozH9K/k55/L0l385hEMdfaa30psNc3C0BOppLFiEYXb0mNcODX8KvhYiTOztkFCCXiRTZ3GvX6Ik+D47EpuqDZrYRo+zmryBxzy2HplXZmBdFlCMCmnke5+FW/cKdCKdPNVhkjoaWri9VYMtzw+huxLny+kvEu2BsAYCvI3t08J5o6XxmB887zFlRYzJ0WqXRn56mXkEbz4qmr10pUU7x1ueh+wwyfNCEsFL6ukMTxw3L4X0zupmBsr0Vx6bONqFVR6DS9SiADc+BvYw2MNEKxJyAdK/lh3ZmjexDqUOv72NGJEu9K/AhT78K9srmFjc06x0tFgkX4NtPGahjOYr7AqMX9ThlESF0by3aasRxjWL+Wuemznd9HpEWRJ9BP2WFUsUYVHb+JGgvhuYFe2nFKgnPw1dyMWLNqpNbJjzgE5bQOv4ZoiMeHq/zmG3AxvAhqiBaobnYS085G3cEwBF9mJb5nOaLU47DyalrXjZCWl1Fw23OWvr8PU4sm6nQUIu1EeHY1Ayn7c=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Thanks Jeffrey…

 

From: <> On Behalf Of Crawford, Jeffrey
Sent: Thursday, August 16, 2018 10:56 AM
To: Mailing List <>
Subject: Re: [grouper-users] Trying to use PSPNG for bushy provisioning to Active Directory. Grouper version 2.3.0

 

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: "" <>
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