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: Shilen Patel <>
  • To: Jeffrey J Ramsay <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] Subject is unresolvable
  • Date: Fri, 4 Nov 2016 11:26:51 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:NgH2HBUREkm/HhUW8+4rdpdl6M7V8LGtZVwlr6E/grcLSJyIuqrYZhOGt8tkgFKBZ4jH8fUM07OQ6PG6HzxRqszQ+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJPK/jvHcaK1oLshrr0q8yYOVQArQH+SIs6FA+xowTVu5teqqpZAYF19CH0pGBVcf9d32JiKAHbtR/94sCt4MwrqHwI6LoJvvRNWqTifqk+UacQTHF/azh0t4XXskzhQAWB/HYNGkdeqBNNGAHUpEX4RJ70qSLrnuB83iaaNMjqSrZyVDi/ufRFUhjt3RwHNjo09invg9B9iOoPuxKgoxF564LJY4zTOfZjKPCONegGTHZMC54CHxdKBZmxOs5WV7IM
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

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



Archive powered by MHonArc 2.6.19.

Top of Page