Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Wheel Group not being created

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Wheel Group not being created


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Stephen Langella <>
  • Cc: "" <>
  • Subject: RE: [grouper-users] Wheel Group not being created
  • Date: Sun, 24 Jul 2011 04:06:10 +0000
  • Accept-language: en-US

Were there any errors in the logs?   Here’s what I did and it seemed to work, what do you have different?

 

1.       Download 1.6.3 api binary: http://www.internet2.edu/grouper/release/1.6.3/grouper.apiBinary-1.6.3.tar.gz

2.       Unzip

3.       Create mysql database, and a user, and a password:

CREATE DATABASE grouper_v1_6_temp;
CREATE USER 'grouper_v1_6t'@'localhost' IDENTIFIED BY 'whateverpass';
GRANT ALL ON grouper_v1_6_temp.* TO 'grouper_v1_6t'@'localhost';

4.       Configure the grouper.hibernate.properties

hibernate.dialect               = org.hibernate.dialect.MySQL5Dialect
hibernate.connection.driver_class = com.mysql.jdbc.Driver
hibernate.connection.url = "jdbc:mysql://localhost:3306/grouper_v1_6_temp hibernate.connection.username         = grouper_v1_6t
hibernate.connection.password         = whateverpass

5.       Configure the grouper.properties

configuration.autocreate.group.name.0 = etc:sysadmingroup
configuration.autocreate.group.description.0 = users in sysadmin group are all powered
configuration.autocreate.group.subjects.0 = habe

groups.wheel.use                      = true


6.       Init the DDL:

C:\temp\grouper_v1_6\grouper.apiBinary-1.6.3\bin>gsh -registry -check –runscript

7.       Save the grouper test users subjects.sql file in the grouper bin directory

http://anonsvn.internet2.edu/cgi-bin/viewvc.cgi/i2mi/trunk/grouper-qs-builder/subjects.sql?view=co

8.       Run the test users file:

C:\temp\grouper_v1_6\grouper.apiBinary-1.6.3\bin>gsh -registry -runsqlfile subjects.sql

9.       Start GSH and see output saying that the group and membership are created:

C:\temp\grouper_v1_6\grouper.apiBinary-1.6.3\bin>gsh
Using GROUPER_HOME:           C:\temp\grouper_v1_6\grouper.apiBinary-1.6.3\bin\..



Grouper warning: cannot find group from config: grouper.properties key configuration.autocreate.group.name.0: etc:sysadmingroup
Grouper note: auto-created grouper.properties key configuration.autocreate.group.name.0: etc:sysadmingroup
Grouper warning: auto-added subject habe to group: etc:sysadmingroup
Type help() for instructions
gsh 0%

10.   Verify that the group and membership are there:

Type help() for instructions
gsh 0% GrouperSession.startRootSession();
edu.internet2.middleware.grouper.GrouperSession: 2d86126236e2452396abcd7b18f4d7eb,'GrouperSystem','application'
gsh 1% getMembers("etc:sysadmingroup");
member: id='habe' type='person' source='jdbc' uuid='4bf2345aba244a679c7c4a83c5b768e4'
gsh 2%

 



Thanks,

Chris


 

From: Stephen Langella [mailto:]
Sent: Saturday, July 23, 2011 4:16 PM
To: Chris Hyzer
Cc:
Subject: Re: [grouper-users] Wheel Group not being created

 

Chris,

 

            Thanks for getting back to me, I tried this as well and it did not work.   I attached my updated grouper.properties for you reference.  Any other ideas?

 

--Steve

 

Stephen Langella

 

Inventrio
545 Metro Place South, Suite 475

Dublin, OH 43017

Phone: (61

4) 389-2795 x102

Fax: (614) 522-6249

Email: 

 

 

 




Archive powered by MHonArc 2.6.16.

Top of Page