Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] xml-import errors

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] xml-import errors

Chronological Thread 
  • From: Chris Hyzer <>
  • To: graham <>
  • Cc: "" <>, "Pytel,G" <>
  • Subject: RE: [grouper-users] xml-import errors
  • Date: Fri, 9 May 2008 11:02:03 -0400
  • Accept-language: en-US
  • Acceptlanguage: en-US

The bottom of the sources.xml has an example ldap config, you can uncomment
it... To load test subjects into your ldap, this script is a good starting
point, you should be able to modify it to get it to work.

Here are some guidelines:

1. Someone else jump in with more info, Im not a big ldap person :)
2. Midway through (it starts with "dn: uid=fipo,ou=uob,dc=example,dc=edu"),
are the subjects that don't require the kitneduperson ldap object class.
Might want to copy that part, search and replace to put in your own hierarchy
(or not), and load it in. Not sure if it includes all subjects in
subjects.sql, but a spot check found a good portion
3. If you need more info about ldappc, the readme in this zip (which links to
javadoc there) goes into it and includes that object class definition

4. Then of course you need to uncomment the ldap part at the bottom of the
sources.xml and set it up in your ldap server...

Good luck,

> -----Original Message-----
> From: graham
> [mailto:]
> Sent: Friday, May 09, 2008 6:14 AM
> To: Chris Hyzer
> Cc:
> ;
> Pytel,G
> Subject: Re: [grouper-users] xml-import errors
> Chris Hyzer wrote:
> >> 1. (minor, I guess): one of the junit tests fails. The error message
> >> is:
> >>
> >> at
> >>
> edu.internet2.middleware.grouper.Test_I_API_RegistrySubject_delete.test
> >> _delete_failToDeleteNoLongerExistingRegistrySubject(Unknown
> >
> > That one works for me, what DB are you using, and did you customize
> your sources.xml? (that needs to resemble the default for tests to
> work)
> >
> oracle
> Yes, I've edited sources.xml, but only to swap in the oracle driver,
> username and password - I haven't made any structural changes. In any
> case as all the other tests pass I assume db access is ok.
> Talking of which, the default sources.xml and test data assume subjects
> are stored in the Subjects table (sources.xml actually has sql embedded
> in it). I will need to connect to an LDAP directory rather than do
> this.
> Is there an alternative model sources.xml file which will give me a
> jump-start on this? I assume this is likely to be the more common use
> case...
> Cheers
> Graham

Archive powered by MHonArc 2.6.16.

Top of Page