Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] [PSPNG] With PSPNG patch 17, group provisioning doesn't work anymore

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] [PSPNG] With PSPNG patch 17, group provisioning doesn't work anymore


Chronological Thread 
  • From: Yoann Delattre <>
  • To: "Poddar, Amit" <>, "" <>
  • Subject: Re: [grouper-users] [PSPNG] With PSPNG patch 17, group provisioning doesn't work anymore
  • Date: Tue, 4 Sep 2018 14:53:05 +0200
  • Arc-authentication-results: i=1; webmail.ac-lille.fr; auth=pass
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ac-lille.fr; s=aclille-dkim; t=1536065572; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AfbEkk62ZZSW00Sp0hfvrB5MmXyCKdvcBiYQjilNQ/M=; b=Lpjp95cU53vt1S9WY3+RNX/T185QiQTIfoNNm9IbhI3tYegRYceUNxe/crf2EYm6agbSIT zE7gzP/JV6Wi2g9YOzoI93jqQt9O8alq+Tlt62apUSU/gVoq2v40aoQ7+SCeOiU+tbLMlP za46akIRyXX7Xjo5VPgsZKk7ijlEB/k=
  • Arc-seal: i=1; s=aclille-dkim; d=ac-lille.fr; t=1536065572; a=rsa-sha256; cv=none; b=QCWVEl5Cu3zYJ7GXKZaUF4gMqxsfp5RHQCJLfqp73dBf00vrbodGDwBFO6k51h83Sj246EKLThzGoy3+FqEUAUZKhmIfCQwRKvFoJNjAgSCTy8oFSeKcyToT07aNoqRznOhLkX2ojYkY6pqK5iayz+20os+Efh4WmufJe9DbAqI=
  • Authentication-results: webmail.ac-lille.fr; auth=pass
  • Ironport-phdr: 9a23:ThhTHB9B9juviP9uRHKM819IXTAuvvDOBiVQ1KB21OscTK2v8tzYMVDF4r011RmVBdqds6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7G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Ut9KF5vUFnzFqfi+51j+EORvJJ4PYcYwAzM5iU4+F+AszuQA+JKsaOQVCgBNmrBTgtUsg869YFJkJ8H9GvyB7ZiXn5S4QJnqCGUcRnupnX2GL8coMkky6cjvsokkUmT81TNGavmq948U3JCpXUl1mCzv/2J7sR1ivE9WPFxGHLuEBcVAM2X7+WOBJ+b1bKrYHh71jZB6SrFaxhOxZdyZuTJqZOY8H1l1gcbOjuMtHXYmb3kmz1AReMwr7KYpCiYGABxGPYAUkAnRoU+COXMgE4AGGtrmbXECB0GHrmaAbo8O16pTW1VEI=

Thanks for this clarification !

And thanks to Bert this error is definitively fixed with PSPNG patch 20 :)

Yoann Delattre 03 20 95 69 10
Équipe SIAD (Systèmes d'Information et Aide à la Décision)
DSI de l'académie de Lille (Direction des Systèmes d'Information)
110 avenue Gaston Berger - 59000 Lille
Le 03/09/2018 à 16:08, Poddar, Amit a écrit :

"Don't know if the .class is also necessary"


I downloaded the java file and compiled it, but you did the quickest thing by downloading both. Technically you only need the .class file.


Amit


From: Yoann Delattre
Sent: Monday, September 3, 2018 8:52:47 AM
To: Poddar, Amit;
Subject: Re: [grouper-users] [PSPNG] With PSPNG patch 17, group provisioning doesn't work anymore
 

Yep, that was the problem !
Don't know if the .class is also necessary, but i downloaded both (.java and .class) from the PSPNG 2.4 package.


Thanks a lot for your help :)

Yoann.
Le 03/09/2018 à 14:21, Poddar, Amit a écrit :

Looks like LdapObject.class should be part of the patch and is not. I downloaded the LdapObject.java from Git and put the class file in the appropriate directory, <GROUPER_API_HOME/conf/edu/internet2/middleware/grouper/pspng, which resolved the error.


Thanks

Amit


From: on behalf of Yoann Delattre
Sent: Monday, September 3, 2018 8:10:49 AM
To:
Subject: [grouper-users] [PSPNG] With PSPNG patch 17, group provisioning doesn't work anymore
 
Hello

since PSPNG patch 17, group provisioning to our LDAP doesn't work anymore.
I get this error :

2018-08-31 16:01:15,265: [DefaultQuartzScheduler_Worker-3] ERROR
ErrorLogger.schedulerError(2425) -  - Job
(DEFAULT.CHANGE_LOG_consumer_pspng_brancheGrouper threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See
nested exception: java.lang.NoSuchFieldError: provisioner]
         at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
         at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.NoSuchFieldError: provisioner
         at
edu.internet2.middleware.grouper.pspng.LdapProvisioner.cacheGroup(LdapProvisioner.java:509)
         at
edu.internet2.middleware.grouper.pspng.LdapProvisioner.cacheGroup(LdapProvisioner.java:50)
         at
edu.internet2.middleware.grouper.pspng.Provisioner.prepareGroupCache(Provisioner.java:769)
         at
edu.internet2.middleware.grouper.pspng.Provisioner.startProvisioningBatch(Provisioner.java:514)
         at
edu.internet2.middleware.grouper.pspng.Provisioner.provisionBatchOfItems(Provisioner.java:1505)
         at
edu.internet2.middleware.grouper.pspng.PspChangelogConsumerShim.processChangeLogEntries(PspChangelogConsumerShim.java:71)
         at
edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.processRecords(ChangeLogHelper.java:245)
         at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$5.runJob(GrouperLoaderType.java:638)
         at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:465)
         at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLoaderJob.java:345)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
         ... 1 more

All patches are applied (19) and attribute provisioning works.

my config :

changeLog.consumer.pspng_brancheGrouper.class =
edu.internet2.middleware.grouper.pspng.PspChangelogConsumerShim
changeLog.consumer.pspng_brancheGrouper.type =
edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner
changeLog.consumer.pspng_brancheGrouper.quartzCron = 0 * * * * ?
changeLog.consumer.pspng_brancheGrouper.ldapPoolName = aclille
changeLog.consumer.pspng_brancheGrouper.memberAttributeName = uniqueMember
changeLog.consumer.pspng_brancheGrouper.memberAttributeValueFormat =
${ldapUser.getDn()}
changeLog.consumer.pspng_brancheGrouper.groupSearchBaseDn =
ou=Grouper,ou=education,o=gouv,c=fr
changeLog.consumer.pspng_brancheGrouper.allGroupsSearchFilter =
objectclass=groupOfUniqueNames
changeLog.consumer.pspng_brancheGrouper.singleGroupSearchFilter =
(&(objectclass=groupOfUniqueNames)(cn=${group.name}))
changeLog.consumer.pspng_brancheGrouper.groupSearchAttributes =
cn,objectclass
changeLog.consumer.pspng_brancheGrouper.groupCreationLdifTemplate = dn:
cn=${group.name}||cn: ${group.name}||objectclass:
groupOfUniqueNames||objectclass: educationnationale
changeLog.consumer.pspng_brancheGrouper.userSearchBaseDn =
ou=ac-lille,ou=education,o=gouv,c=fr
changeLog.consumer.pspng_brancheGrouper.userSearchFilter = uid=${subject.id}
changeLog.consumer.pspng_brancheGrouper.grouperIsAuthoritative = false

Can you help me ?
Thanks,
Yoann.






Archive powered by MHonArc 2.6.19.

Top of Page