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: Mirko Tasler <>
  • To: "" <>
  • Subject: Re: [grouper-users] RE: Unix GID's in Grouper
  • Date: Fri, 15 Jan 2010 10:14:16 +0100


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