grouper-users - Re: [grouper-users] Subject is unresolvable
Subject: Grouper Users - Open Discussion List
List archive
- From: Jeffrey J Ramsay <>
- To: Shilen Patel <>
- Cc: "" <>
- Subject: Re: [grouper-users] Subject is unresolvable
- Date: Fri, 4 Nov 2016 08:42:33 -0400
- Ironport-phdr: 9a23:tD2SJBLeeiqIyqARKdmcpTZWNBhigK39O0sv0rFitYgULf3xwZ3uMQTl6Ol3ixeRBMOAuqgC27ud6PCocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXsq3G/pQQfBg/4fVIsYL+kQMiC3o/sh6ibwN76W01wnj2zYLd/fl2djD76kY0ou7ZkMbs70RDTo3FFKKx8zGJsIk+PzV6nvp/jtLYqySlbuuog+shcSu26Ov1gFf0LRAghZls15cnms1H7RBeC4jNISWUXlhdOKwTY7xy8U5vs5HjUrO14jQuXM8PsQKF8e3yY5qJwQQ6g3CUdPjsi+XD/gM12g6JSpQ6moVpyz5OCM9LdD+Z3Yq6IJYBSfmFGRMsEEnUZWo4=
Yes, I would like to have those entries as subjects in Grouper. I will configure the sources.xml file and post an update.
Thanks for your help.
-Jeff
On Fri, Nov 4, 2016 at 8:28 AM, Shilen Patel <> wrote:
It's deprecated but should still work. If it failed due to a subject not found exception, then do you want those 4 entries in that OU to be subjects in Grouper? If so, then your sources.xml file has to be configured to find them. Have you configured the ldap source in there? Or do you have your subjects in some other source as well (e.g. database)?
Thanks!
- Shilen
From: Jeffrey J Ramsay <>
Date: Friday, November 4, 2016 at 8:11 AM
To: Shilen Patel <>
Cc: "" <>
Subject: Re: [grouper-users] Subject is unresolvable
Shilen,
The "uid=grouper" is the ldap proxy account used by the Grouper application for authentication. The entire ldap source only contains four records. I tried to use the findById which failed and that command appears to have been deprecated.
I did run the following and we don't have a lot defined.
gsh 0% grouperSession = GrouperSession.startRootSession(); edu.internet2.middleware.grouper.GrouperSession: 5e90eb19e1af45f69f7d38a4929d5f 72,'GrouperSystem',' application' gsh 1% SubjectFinder.findAll("grouper") subject: id='5ac5698d2a8f4c6c86e5095d208394 e8' type='group' source='g:gsa' name='etc:sysadmingroup' subject: id='9d25e467-b127-4229-880b-ba65d0506c02' type='group' source='g:gsa' name='etc:wheel' subject: id='ad9bda57183e424b97847744fee10d 33' type='group' source='g:gsa' name='etc:attribute:messages: grouperMessageRole' subject: id='b32891551b8e49d88487d380814ec4 7f' type='group' source='g:gsa' name='etc:grouperUi: grouperUiUserData' subject: id='4c320cff994d49dfb9ebd4dfa993f3 46' type='group' source='g:gsa' name='etc: webServiceClientUsers' subject: id='GrouperAll' type='application' source='g:isa' name='EveryEntity'
My goal here is 1) to try and get a better understanding of the application and 2) just create a group will all users.
Thanks,-Jeff
On Fri, Nov 4, 2016 at 7:26 AM, Shilen Patel <> wrote:
Hi,
You have an entry in your ldap under ou=users with uid=grouper? If so, what does the following give you?
gsh 0% GrouperSession.startRootSessio
n() gsh 1% SubjectFinder.findById("groupe
r")
If that gives you a subject not found exception, and you really intend for "grouper" to be a subject, then your sources.xml configuration probably needs tweaking.
Thanks!
- Shilen
From: Jeffrey J Ramsay <>
Date: Thursday, November 3, 2016 at 11:57 PM
To: "" <>
Subject: [grouper-users] Subject is unresolvable
Hello -
I'm new to Grouper and I'm try to build my first group which will include all ldap users.
The search is running and returning the results as expected, but I'm not sure how to resolve the "Subject is unresolvable" message and could really use some help.
Subject is unresolvable 'grouper' col: subjectId, jobName: bu:ITS:myLdapGrouploader ran successfully, inserted 0 memberships, deleted 0 memberships, total membership count: 4, unresolvable subjects: 4
Group setup based on examples ...
grouperSession = GrouperSession.startRootSession(); group = new GroupSave(grouperSession).assignName("bu:ITS:myLdapGroup").a ssignCreateParentStemsIfNotExi st(true).save(); attributeAssign = group.getAttributeDelegate().assignAttribute(LoaderLdapUtils .grouperLoaderLdapAttributeDef Name()).getAttributeAssign(); attributeAssign = group.getAttributeDelegate().retrieveAssignment(null, LoaderLdapUtils.grouperLoaderL dapAttributeDefName(), false, true); attributeAssign.getAttributeValueDelegate().assignValue( LoaderLdapUtils.grouperLoaderL dapTypeName(), "LDAP_SIMPLE"); attributeAssign.getAttributeValueDelegate().assignValue( LoaderLdapUtils.grouperLoaderL dapFilterName(), "(uid=*)"); attributeAssign.getAttributeValueDelegate().assignValue( LoaderLdapUtils.grouperLoaderL dapSearchDnName(), "ou=users"); attributeAssign.getAttributeValueDelegate().assignValue( LoaderLdapUtils.grouperLoaderL dapServerIdName(), "personLdap"); attributeAssign.getAttributeValueDelegate().assignValue( LoaderLdapUtils.grouperLoaderL dapSubjectAttributeName(), "uid"); attributeAssign.getAttributeValueDelegate().assignValue( LoaderLdapUtils.grouperLoaderL dapQuartzCronName(), "0 * * * * ?"); group = GroupFinder.findByName(grouperSession, "bu:ITS:myLdapGroup");
grouperSession = GrouperSession.startRootSession(); group = GroupFinder.findByName(grouperSession, "bu:ITS:myLdapGroup") loaderRunOneJob(group);
Any help or suggestions would be appreciated.
Thanks,-Jeff--
Jeffrey Ramsay
Assistant Director
Enterprise Software Infrastructure
and Technical Planning
Binghamton University
http://www.binghamton.edu
--
Jeffrey Ramsay
Assistant Director
Enterprise Software Infrastructure
and Technical Planning
Binghamton University
http://www.binghamton.edu
Jeffrey Ramsay
Assistant Director
Enterprise Software Infrastructure
and Technical Planning
Binghamton University
http://www.binghamton.edu
Assistant Director
Enterprise Software Infrastructure
and Technical Planning
Binghamton University
http://www.binghamton.edu
- [grouper-users] Subject is unresolvable, Jeffrey J Ramsay, 11/04/2016
- Re: [grouper-users] Subject is unresolvable, Shilen Patel, 11/04/2016
- Re: [grouper-users] Subject is unresolvable, Jeffrey J Ramsay, 11/04/2016
- Re: [grouper-users] Subject is unresolvable, Shilen Patel, 11/04/2016
- Re: [grouper-users] Subject is unresolvable, Jeffrey J Ramsay, 11/04/2016
- Re: [grouper-users] Subject is unresolvable, Shilen Patel, 11/04/2016
- Re: [grouper-users] Subject is unresolvable, Jeffrey J Ramsay, 11/04/2016
- Re: [grouper-users] Subject is unresolvable, Shilen Patel, 11/04/2016
Archive powered by MHonArc 2.6.19.