Subject: Grouper Users - Open Discussion List
[grouper-users] RE: Confusion with Multiple Subject Sources
- From: "Coleman, Erik C" <>
- To: "Hyzer, Chris" <>, "" <>
- Subject: [grouper-users] RE: Confusion with Multiple Subject Sources
- Date: Fri, 1 Jun 2018 15:20:21 +0000
- Accept-language: en-US
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Indeed I did, that SQL query returned one row—my personal subject, which was put in the wheelhouse group and when I started up Grouper before I had changed the subject sources, it obviously recorded the old subject source.
Turns out we were going to rebuild the database anyway with a new test iteration, so understanding and having the order right this time—define subject sources *before* any memberships are made—fixed the problem.
Thanks for pointing me in the right direction!
Did you used to have a source “ldap” and you don’t anymore? J
Run this query:
select * from grouper_members gm where GM.SUBJECT_SOURCE = 'ldap'
Assuming you have results…
You might need to temporarily add a subject source named “ldap” while you clean this up…
You need to see which records have “ldap”
We should put that utility on the UI at some point…
Our currently planned design has two subject sources defined in subject.properties, both from the same LDAP:
This provides us some convenience in distinguishing sources and having slightly different configs. All seems to be defined OK, there are two stanzas, each with the id defined appropriately. I can search and find subjects in both and add them as members to groups.
But for some reason, when I add a group to another group in the New UI, I get a strange errors when I perform a function on the group in multiple ways:
Error: Cant find source with id: 'ldap', Possible source id's: 'g:isa', 'uofinetid', 'g:gsa', 'grouperEntities', 'uofiurbsvc', 'grouperExternal', , Problem calling method groupPrivileges on edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Group
Error: Cant find source with id: 'ldap', Possible source id's: 'g:isa', 'uofinetid', 'g:gsa', 'grouperEntities', 'uofiurbsvc', 'grouperExternal', , Problem calling method viewGroup on edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Group
The strange part is I don’t have a subject source defined with an ID of “ldap”, as the error implies, the list of possible source ID’s are the only ones I’ve got defined. So where is it referencing this “ldap” as the source for group name resolution? Why wouldn’t it want to use the Grouper Internal source?
Thanks for any tips!
University of Illinois at Urbana-Champaign
- [grouper-users] RE: Confusion with Multiple Subject Sources, Coleman, Erik C, 06/01/2018
- RE: [grouper-users] RE: Confusion with Multiple Subject Sources, Morrison, Mitchelle S., 06/01/2018
Archive powered by MHonArc 2.6.19.