Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] RE: Unix GID's in Grouper

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] RE: Unix GID's in Grouper


Chronological Thread 
  • From: GOOD Richard <>
  • To: "" <>
  • Subject: RE: [grouper-users] RE: Unix GID's in Grouper
  • Date: Fri, 15 Jan 2010 11:12:55 +0000
  • Accept-language: en-US, en-GB
  • Acceptlanguage: en-US, en-GB

Thanks for that, most useful for us!

Cheers,

Richard


--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


-----Original Message-----
From: Mirko Tasler
[mailto:]

Sent: 15 January 2010 09:14
To:

Subject: Re: [grouper-users] RE: Unix GID's in Grouper


> absolutely interested, I'm planning on implementing a GID registry for
> *nix here at the university with Grouper 1.5.

Here's a solution. It is for Grouper 1.4, but should work with 1.5 too:
http://tasler.net/pebble/default/files/UnixGroupHook.java

To use this class, create table, sequence, group type as stated in the
comments, then call public static void setUnixGroupId(Group group) from your
Hook in groupPostInsert and groupPostUpdate. Note, a certain Group name will
always get the same ID even if being deleted and re-created, this was an
import precondition here at Freie Universität Berlin. Depending on your
requirements this may or may not be what you want.

For us, this works like a charm so far. We would love to see something like
this in standard grouper, but I guess it's a bit too specific.

Basically, this is what Loris suggested in
https://mail.internet2.edu/wws/arc/grouper-users/2009-03/msg00043.html

Cheers,

Mirko

--
Mirko Tasler | FU Directory and Identity Service (FUDIS)

| Identity & Customer Management
| ZEDAT Freie Universität Berlin



Archive powered by MHonArc 2.6.16.

Top of Page