Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] import, command line parameters....

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] import, command line parameters....

Chronological Thread 
  • From: Tom Barton <>
  • To:
  • Cc:
  • Subject: Re: [grouper-users] import, command line parameters....
  • Date: Tue, 27 Feb 2007 17:31:49 -0600

In addition, take care of what namespace is used for the 'id' attribute. Should that be id='stc' or id='<some opaque identifier>'? It depends on what you declare for the subject 'id' attribute in sources.xml. For the JNDI adapter subject v0.2.1 uses the declaration


The value of <someAttribute> is the subject's id, and that value is what's needed in the xml import file to identify a member.

so, my input file now contains elements like this:

<subject id="stc" source='Brown' type='person' immediate='true' />

and my sources file contains:


and my user object contains uid=stc .... so I think I've got those all set....

That seems like a consistent set of settings. But would you rather use brownBRUID as the subject Id? Making an assumption here, but is it a persistent & non-reassignable & non-revocable identifier? That seems perfect as a subject Id - no need to reflect changes in subject Id into membership & privilege lists; membership can be managed even if there's no username assigned to the subject.

my sources file also contains:

searchSubject filter = uid (MUST be same attribute as used for SubjectID_AttributeType ?)


searchSubjectByIdentifier filter = brownBRUID (a unique persistent value assigned to every member of the brown community -- is this a good choice ? )

I'd consider switching your use of uid and brownBRUID. The later as subject Id, the former as (one of) the identifying attributes searched to identify a subject.

search filter = (this looks like a grab-bag search of the directory.. eg "find an entry which has this value in some attribute" )


Grab bag is about the right mind set for this search type. Anticipate how ordinary people will use a UI to search and select others to put them in groups.


Archive powered by MHonArc 2.6.16.

Top of Page