grouper-users - [grouper-users] RE: Oldap source
Subject: Grouper Users - Open Discussion List
List archive
- From: "Hyzer, Chris" <>
- To: "Singley, Norman" <>, " Mailing List" <>
- Subject: [grouper-users] RE: Oldap source
- Date: Fri, 2 Dec 2016 22:59:45 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Ironport-phdr: 9a23:3ThgSxBpFcrNAi9CA21iUyQJP3N1i/DPJgcQr6AfoPdwSP37oc+wAkXT6L1XgUPTWs2DsrQf2rGQ7/yrATBIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSijewZb1/IA+5oAjeucUanYRvIbstxxXUpXdFZ/5Yzn5yK1KJmBb86Maw/Jp9/ClVpvks6c1OX7jkcqohVbBXAygoPG4z5M3wqBnMVhCP6WcGUmUXiRVHHQ7I5wznU5jrsyv6su192DSGPcDzULs5Vyiu47ttRRT1kyoMKSI3/3/LhcxxlKJboQyupxpjw47PfYqZMONycr7Bcd8GQGZMWNtaWS5cDYOmd4YBD/QPM/tEr4fzpFUOoxmxBQiwC+zg0TJInGP60bEg3ug9DQ3KwgotFM8OvnTOq9X1Mb8fXe63wqjIzDTMcelW1S/g44XWchAhu/CMXal+fcHMzkQvEh/KjlWQqI3kITyVzP8As2mA7+V8T+6vlnYnpB93ojip3MsjlJTGhp8Mx13C6C53zoE1JdiiR056Z96pCJpQtyeGN4RoWMMiRX9nuDokxrEcp5G0YTUKxIwjxx7YZPyHfJaH4gj5WOmPPDh4mXRoc6+8iRaq6UWs1PfzWtWp3FtPsyZJj8TAu3UD1xHc9sSLVv5w80W/1juA2A3e7+RJLV4omafZM5It37A9moYJvUnHAyP6glv6gLKSe0k+5+Sl6eXqb7P7rZGGLYB0kBvxMqE2l8y/H+s4Ng8OUnCD9+mg07Pv4VP1TKxXgPMuj6XVqZfaKt8FqaKjBA9Vz5oj5A24Dze71tQXgGMLLEpfeBKAk4jmJU3BIOz5Dfe4hVSgijBrx+3aPr3lBZXNKXvDnK39crZ67k5Q0AszzdZB6JJIErwNPuj8VlPsuNHdExM1LhG4zuPpCNhyyo8SRWeCD62HP67dvlKF4+ciL/eQaIIXoDr9LuIq5//qjX83g18deqyp0IMSaH+kHvRnI0SYbmT2gtoaEGcKpRYxQPb3iF2aTzFTYXCyU7gi6T4mFYKqFZ3DSZy1gLydwCe7GYVbZm9cClCLDHfob5uLW+0VZCKPOc9ujCYEVaO6Ro8l1BGurxP6y6F5IubO+y0Ys47j28Zv5+3Vix4y6SJ4A96D3G6QUmEn1l8PEnUN3aZwpUFsjh+l1rJ9ivoSXYh14OlMWwF8Dp/awOh3Gvj3QQWHY9KVDluqX4PiSXs+VNUs29IUJltmFs+5phHFwyewBbIJzfqGCIF816vd23n3KI5Zym3anuF1gEMhX9NCLyi7naNl7CDSAZLEiUOUi/zseKgBin3j7mCGmCCurVNVSko4eqXfXGtVLh/TptTo9E7YZ761AvI6KgZHz4iPJrYcOY6htklPWPq2YIeWWGm2gWrlQE/Qnr4=
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Ive been discussing this with Norman, and at this point it boils down to needing to add to grouper.properties #if groups like the wheel group should be auto-created for convenience (note: check config needs to be on) configuration.autocreate.system.groups = true # A wheel group allows you to enable non-GrouperSystem subjects to act # like a root user when interacting with the registry. groups.wheel.use = true I think we should change grouper.base.properties to have those settings by default. I could see why people would want them off, but more people would want them on and have fewer errors. Sound good?
J https://bugs.internet2.edu/jira/browse/GRP-1430 Thanks Chris From: Singley, Norman [mailto:]
Chris - Great catch on the umid / uid. It’s actually the opposite - I search for uid (what we call netid, in this case ns180505e ). I fixed that, and now, I am not getting the entity not found error, so THANKS!!.
I can successfully add members to the wheel group, but still can’t create any new folders. When I go to add a folder and search for Root, It says “the value entered is not valid” We seem to be getting a proper connection to the oldap then, but the privs are not getting assigned to the identities?
Yes, I did send /grouper/grouper.ws-2.3.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/sources.xml - All three of the sources.xml are the same.
I’m kind of a novice with the shell. I started it from /grouper/grouper.ui-2.3.0/dist/grouper/WEB-INF/bin/gsh but when I run–registry –drop –runscript it says:
Error: unable to evaluate command: Sourced file: inline evaluation of: `` -registry -drop -runscript;'' : illegal use of undefined object or 'void' literal I do get a cleaner startup now, after clearing out the old logs.
I can successfully query the oldap using gsh: gsh 5% grouperSession = GrouperSession.startRootSession(); edu.internet2.middleware.grouper.GrouperSession: 548aa1e45f3f4dafba0eaf833d3055f4,'GrouperSystem','application' gsh 6% SubjectFinder.findByIdentifierAndSource("ns180505e", "oid", false); subject: id='ns180505e' type='person' source='oid' name='Norman Singley' From: Hyzer, Chris []
Your subject id is umid and your subject identifier is uid right? Your search says that but you have this: FROM: <init-param> <param-name>SubjectID_AttributeType</param-name> <param-value>uid</param-value> </init-param> Which I think you should change to this: <init-param> <param-name>SubjectID_AttributeType</param-name> <param-value>umid</param-value> </init-param> The UI is showing subject id of ns180505e which would not be resolved. Any chance you can change that, reinit your database to wipe out the old way you configured it and try again? gsh -registry -drop -runscript Do you still need the sample data and subjects? I would start fresh without that stuff. Some troubleshooting… after the above… What path of sources.xml did you send me? Its /grouper/grouper.ui-2.3.0/dist/grouper/WEB-INF/classes/sources.xml right? If you stop tomcat, delete logs, and start, do you not see that stack in the logs anymore? Add this to the log4j.properties log4j.logger.edu.internet2.middleware.subject = DEBUG Start gsh from /grouper/grouper.ui-2.3.0/dist/grouper/WEB-INF/bin/gsh Try to resolve subjects. E.g. https://spaces.internet2.edu/pages/viewpage.action?pageId=14517859 grouperSession = GrouperSession.startRootSession();
SubjectFinder.findByIdAndSource("790505106", "oid", false); Or grouperSession = GrouperSession.startRootSession();
SubjectFinder.findByIdentifierAndSource("ns180505e", "oid", false); From: Singley, Norman []
Thanks Chris. Here is the LDIF record for one of the identities. Norman Singley Directory Services 406 243 6799 From: Hyzer, Chris []
Send us what one of those subjects (which should be resolvable but which isn’t) looks like in ldap, all the attributes/values, note feel free to sanitize… From: []
On Behalf Of Singley, Norman Hi Folks. I had to take a break from working on this, but I have time to get after it again. I am having trouble, I think with getting all of the identity details from our openldap. I have grouper configured to authenticate through our CAS/Shib,
and as far as I can tell, that’s working. When I get to the UI, however, none of the members of my wheel group can create new folders. I can add new members to the wheel group using the UI. Next to the netid, there is an Entity not found error: If I click on an identity, I get an “Error: cannot find subject” in a pink bar at the top of the page. Playing around a bit, I tried going into the lite UI, and when I bring up the member details page I get this: All three sources.xml files are the same, and attached. So, I’m not really sure where to go next. Thanks for any help.
Norman Singley Directory Services 406 243 6799 |
- [grouper-users] Oldap source, Singley, Norman, 12/02/2016
- [grouper-users] RE: Oldap source, Hyzer, Chris, 12/02/2016
- [grouper-users] RE: Oldap source, Singley, Norman, 12/02/2016
- [grouper-users] RE: Oldap source, Hyzer, Chris, 12/02/2016
- [grouper-users] RE: Oldap source, Singley, Norman, 12/02/2016
- [grouper-users] RE: Oldap source, Hyzer, Chris, 12/02/2016
- [grouper-users] RE: Oldap source, Singley, Norman, 12/02/2016
- [grouper-users] RE: Oldap source, Hyzer, Chris, 12/02/2016
- [grouper-users] RE: Oldap source, Singley, Norman, 12/02/2016
- [grouper-users] RE: Oldap source, Hyzer, Chris, 12/02/2016
- [grouper-users] RE: Oldap source, Singley, Norman, 12/02/2016
- [grouper-users] RE: Oldap source, Hyzer, Chris, 12/02/2016
Archive powered by MHonArc 2.6.19.