Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Subject is unresolvable

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Subject is unresolvable


Chronological Thread 
  • From: Jeffrey J Ramsay <>
  • To: Shilen Patel <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] Subject is unresolvable
  • Date: Fri, 4 Nov 2016 08:11:49 -0400
  • Ironport-phdr: 9a23:NN33jxEH9AWNw+EIdj3AA51GYnF86YWxBRYc798ds5kLTJ75oM2wAkXT6L1XgUPTWs2DsrQf2rCQ4/GrAjxIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TWM5DIfUi/yKRBybrysXNWD1YLnhqvpq9X6WEZhvHKFe7R8LRG7/036l/I9ps9cEJs30QbDuXBSeu5blitCLFOXmAvgtI/rpMYwuwwZgf8q9tZBXKPmZOx4COUAVHV1e1wysfbrtB3OS0O372cRVi1CiRpJBwXDxB3nXZq3vyfn4LlTwi6faO/7Q74uVCXqze9RQRrzgTZPYzwj+WTMg91YhqNdrxKoogB4xcjZbJzDZ6k2Rb/UYd5PHTkJZc1WTSEUR9rkN4Y=

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: 5e90eb19e1af45f69f7d38a4929d5f72,'GrouperSystem','application'
gsh 1% SubjectFinder.findAll("grouper")
subject: id='5ac5698d2a8f4c6c86e5095d208394e8' 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='ad9bda57183e424b97847744fee10d33' type='group' source='g:gsa' name='etc:attribute:messages:grouperMessageRole' 
subject: id='b32891551b8e49d88487d380814ec47f' type='group' source='g:gsa' name='etc:grouperUi:grouperUiUserData' 
subject: id='4c320cff994d49dfb9ebd4dfa993f346' 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.startRootSession()

gsh 1% SubjectFinder.findById("grouper")


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:myLdapGroup
loader 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").assignCreateParentStemsIfNotExist(true).save();
attributeAssign = group.getAttributeDelegate().assignAttribute(LoaderLdapUtils.grouperLoaderLdapAttributeDefName()).getAttributeAssign();
attributeAssign = group.getAttributeDelegate().retrieveAssignment(null, LoaderLdapUtils.grouperLoaderLdapAttributeDefName(), false, true);
attributeAssign.getAttributeValueDelegate().assignValue(LoaderLdapUtils.grouperLoaderLdapTypeName(), "LDAP_SIMPLE");
attributeAssign.getAttributeValueDelegate().assignValue(LoaderLdapUtils.grouperLoaderLdapFilterName(), "(uid=*)");
attributeAssign.getAttributeValueDelegate().assignValue(LoaderLdapUtils.grouperLoaderLdapSearchDnName(), "ou=users");
attributeAssign.getAttributeValueDelegate().assignValue(LoaderLdapUtils.grouperLoaderLdapServerIdName(), "personLdap");
attributeAssign.getAttributeValueDelegate().assignValue(LoaderLdapUtils.grouperLoaderLdapSubjectAttributeName(), "uid");
attributeAssign.getAttributeValueDelegate().assignValue(LoaderLdapUtils.grouperLoaderLdapQuartzCronName(), "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



Archive powered by MHonArc 2.6.19.

Top of Page