Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] How to import pre-existing groups to grouper

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] How to import pre-existing groups to grouper


Chronological Thread 
  • From: Tom Zeller <>
  • To: Francesco Malvezzi <>
  • Cc:
  • Subject: Re: [grouper-users] How to import pre-existing groups to grouper
  • Date: Thu, 23 Sep 2010 10:04:10 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=TmYIn+2ec1jZ6ygPgDrFvBcpU2/RdOH1SOhRNLcERVrFkzIVytL1G4T2XLSkKl1XCO 0/SCVunCt/5bKdb375ioqfHc7vEFl1UavlEwtSkwdg7t5unrT71iEEeg7sjfQbFXsZka eyK6zJKqhzIwnCeX8rXbFr5CWvCF0RfUSLsXM=

> First of all: which is the preferred way to import existing groups from
> ldap (available as ldif records which can be converted to whatever
> format best suited)? As the groups are few I was thinking about writing
> a long gsh command and piping it to gsh. Better solutions?

We do not currently provide a way to import from ldap or ldif into
Grouper, sounds like a good feature request. Depending on what you
feel comfortable doing, a java program might be reasonable.

> Next: as ldappcng adds isMemberOf to ldap entries, how can I query
> grouper about this attribute?

Using gsh, java, or webservices, you will want to call getGroups() on
a Member object. We can provide additional details if you let us know
how you plan on querying.

> It is neeeded because entries are
> recreated from scratch when updated (even if update modifies a single
> attribute, entry is created from scratch).

You mean if an attribute is changed, ldappcng attempts to add and not
modify the ldap object ?

TomZ



Archive powered by MHonArc 2.6.16.

Top of Page