grouper-users - Re: [grouper-users] LDAP Directory JDBC Connector
Subject: Grouper Users - Open Discussion List
List archive
- From: Thomas M Goerger <>
- To: Tom Barton <>
- Cc:
- Subject: Re: [grouper-users] LDAP Directory JDBC Connector
- Date: Tue, 18 Mar 2008 15:40:53 -0500 (CDT)
From some docs I found on the web, I thought it might be faster to use a
JDBC connector instead of the JNDI. However, when I try to use the JNDI
adaptor, I'm getting an initialization error trying to run the ant db-init
task. Haven't seen any problems in my sources.xml file, but am still
getting the error. Any ideas on why I might be getting this?
db.init:
[java] Exception in thread "main"
edu.internet2.middleware.grouper.GrouperRuntimeException: unable to
initialize registry: unable to retrieve GrouperSystem: unable to get
SourceManager: Error initializing SourceManager
[java] at
edu.internet2.middleware.grouper.RegistryInstall.main(RegistryInstall.java:41)
[java] Caused by:
edu.internet2.middleware.grouper.GrouperRuntimeException: unable to
retrieve GrouperSystem: unable to get SourceManager: Error initializing
SourceManager
[java] at
edu.internet2.middleware.grouper.SubjectFinder.findRootSubject(SubjectFinder.java:297)
[java] at
edu.internet2.middleware.grouper.RegistryInstall.main(RegistryInstall.java:33)
[java] Java Result: 1
On Mon, 17 Mar 2008, Tom Barton wrote:
> I have no such experience, but I must ask: why do you want to use JDBC
> to access an LDAP source? Is there something about the JNDISourceAdapter
> that does not meet your needs?
>
> Tom
>
> Thomas M Goerger wrote:
> > Has anyone had any experience connecting to an LDAP server using a JDBC
> > connector? I'm trying to query our LDAP directory to search for users
> > here, and am not having any success with it. Just wondering if anyone has
> > tried to do this and had any success? What adapter would you use? I'm
> > trying a Novell connector. This is the code I'm using in my sources.xml
> > module. Anybody see anything that might be wrong?
> >
> > <source
> > adapterClass="edu.internet2.middleware.subject.provider.JDBCSourceAdapter">
> > <id>ldapjdbc</id>
> > <name>LDAP JDBC Source Adapter</name>
> > <type>person</type>
> > <init-param>
> > <param-name>maxActive</param-name>
> > <param-value>4</param-value>
> > </init-param>
> > <init-param>
> > <param-name>maxIdle</param-name>
> > <param-value>2</param-value>
> > </init-param>
> > <init-param>
> > <param-name>maxWait</param-name>
> > <param-value>5</param-value>
> > </init-param>
> >
> > <init-param>
> > <param-name>dbDriver</param-name>
> > <param-value>com.novell.sql.LDAPDriver</param-value>
> > </init-param>
> >
> > <init-param>
> > <param-name>dbUser</param-name>
> > <param-value>Grouper Testing</param-value>
> > </init-param>
> > <init-param>
> > <param-name>dbPwd</param-name>
> > <param-value>#########</param-value>
> > </init-param>
> > <init-param>
> > <param-name>dbUrl</param-name>
> > <param-value>jdbc:ldap://lde-d.tc.umn.edu</param-value>
> > </init-param>
> >
> > <init-param>
> > <param-name>SubjectID_AttributeType</param-name>
> > <param-value>uid</param-value>
> > </init-param>
> > <init-param>
> > <param-name>Name_AttributeType</param-name>
> > <param-value>cn</param-value>
> > </init-param>
> > <init-param>
> > <param-name>Description_AttributeType</param-name>
> > <param-value>sn</param-value>
> > </init-param>
> >
> > <search>
> > <searchType>searchSubject</searchType>
> > <param>
> > <param-name>filter</param-name>
> > <param-value>
> > (& (uid=%TERM%)(objectclass=umnPERSON))
> > </param-value>
> > </param>
> > <param>
> > <param-name>scope</param-name>
> > <param-value>SUBTREE_SCOPE</param-value>
> > </param>
> > <param>
> > <param-name>base</param-name>
> > <param-value>
> > ou=PEOPLE,o=UNIVERSITY OF MINNESOTA,c=US
> > </param-value>
> > </param>
> > </search>
> >
> > <search>
> > <searchType>searchSubjectByIdentifier</searchType>
> > <param>
> > <param-name>filter</param-name>
> > <param-value>
> > (& (uid=%TERM%)(objectclass=umnPERSON))
> > </param-value>
> > </param>
> > <param>
> > <param-name>scope</param-name>
> > <param-value>
> > SUBTREE_SCOPE
> > </param-value>
> > </param>
> > <param>
> > <param-name>base</param-name>
> > <param-value>
> > ou=PEOPLE,o=UNIVERSITY OF MINNESOTA,c=US
> > </param-value>
> > </param>
> > </search>
> >
> > <search>
> > <searchType>search</searchType>
> > <param>
> > <param-name>filter</param-name>
> > <param-value>
> > (&
> > (|uid=*%TERM%*)(cn=*%TERM%*)(sn=*%TERM%*))(objectclass=umnPERSON))
> > </param-value>
> > </param>
> > <param>
> > <param-name>scope</param-name>
> > <param-value>SUBTREE_SCOPE</param-value>
> > </param>
> > <param>
> > <param-name>base</param-name>
> > <param-value>
> > ou=PEOPLE,o=UNIVERSITY OF MINNESOTA,c=US
> > </param-value>
> > </param>
> > </search>
> > <attribute>sn</attribute>
> > <attribute>ou</attribute>
> > <attribute>uid</attribute>
> > <attribute>cn</attribute>
> > </source>
> >
> >
>
- LDAP Directory JDBC Connector, Thomas M Goerger, 03/17/2008
- Re: [grouper-users] LDAP Directory JDBC Connector, Tom Barton, 03/17/2008
- Re: [grouper-users] LDAP Directory JDBC Connector, Thomas M Goerger, 03/18/2008
- Re: [grouper-users] LDAP Directory JDBC Connector, Tom Barton, 03/18/2008
- Re: [grouper-users] LDAP Directory JDBC Connector, Thomas M Goerger, 03/19/2008
- Re: [grouper-users] LDAP Directory JDBC Connector, Tom Barton, 03/19/2008
- Re: [grouper-users] LDAP Directory JDBC Connector, Thomas M Goerger, 03/19/2008
- Re: [grouper-users] LDAP Directory JDBC Connector, Thomas M Goerger, 03/26/2008
- Re: [grouper-users] LDAP Directory JDBC Connector, Tom Barton, 03/19/2008
- Re: [grouper-users] LDAP Directory JDBC Connector, Thomas M Goerger, 03/19/2008
- Re: [grouper-users] LDAP Directory JDBC Connector, Tom Barton, 03/18/2008
- Re: [grouper-users] LDAP Directory JDBC Connector, Thomas M Goerger, 03/18/2008
- Re: [grouper-users] LDAP Directory JDBC Connector, Tom Barton, 03/17/2008
Archive powered by MHonArc 2.6.16.