grouper-users - LDAP Directory Test Data Content.
Subject: Grouper Users - Open Discussion List
List archive
- From: "Sanjay Vivek" <>
- To: <>
- Subject: LDAP Directory Test Data Content.
- Date: Mon, 24 Sep 2007 12:11:15 +0100
Hi everyone,
I'm attempting to run the built-in test cases. I've edited
/my_install_directory/ldappc_1_0/conf/testConfigurations/testSetU/ldappc
.xml and
/my_install_directory/ldappc_1_0/conf/testConfigurations/testSetU/testLd
appc.properties to suit my needs. However, I get the following errors:
There were 4 failures:
1)
testProvisionedGroups(edu.internet2.middleware.ldappcTest.qs.QuickStartT
estU)junit.framework.AssertionFailedError: Unable to verify environment
for testing :: Unable to locate dn: ou=uob,dc=example,dc=edu
Unable to locate dn: ou=testgrouper,dc=ncl,dc=ac,dc=uk
Unable to locate dn: ou=kitn,dc=example,dc=edu
at
edu.internet2.middleware.ldappcTest.qs.QuickStartTestU.setUp(QuickStartT
estU.java:161)
2)
testContextExists(edu.internet2.middleware.ldappcTest.RootProcessorTest)
junit.framework.AssertionFailedError: cn=Manager,dc=ncl,dc=ac,dc=uk does
not exist but is required for testing.
at
edu.internet2.middleware.ldappcTest.RootProcessorTest.testContextExists(
RootProcessorTest.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
3)
testSimpleSearch(edu.internet2.middleware.ldappcTest.SimpleLdapSearchTes
t)junit.framework.AssertionFailedError: Could not find any search match.
at
edu.internet2.middleware.ldappcTest.SimpleLdapSearchTest.testSimpleSearc
h(SimpleLdapSearchTest.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
4)
testLdapNewEntry(edu.internet2.middleware.ldappcTest.LdapNewEntryTest)ju
nit.framework.AssertionFailedError: Could not get search attributes --
naming exception: [LDAP: error code 32 - No Such Object]
at
edu.internet2.middleware.ldappcTest.LdapNewEntryTest.displayBindings(Lda
pNewEntryTest.java:313)
at
edu.internet2.middleware.ldappcTest.LdapNewEntryTest.testLdapNewEntry(Ld
apNewEntryTest.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
I'm guessing I've to edit some other configuration file because of the
mismatch in DNs but I can't seem to find the right config file. Any sort
of insight would be appreciated.
Cheers.
Regards
--------------
Sanjay Vivek
Web Team
ISS
University of Newcastle Upon Tyne
- LDAP Directory Test Data Content., Sanjay Vivek, 09/24/2007
- Re: [grouper-users] LDAP Directory Test Data Content., Steven_Carmody, 09/25/2007
Archive powered by MHonArc 2.6.16.