Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Ldappc deployment error.

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Ldappc deployment error.


Chronological Thread 
  • From: "Sanjay Vivek" <>
  • To: <>
  • Subject: RE: [grouper-users] Ldappc deployment error.
  • Date: Fri, 21 Sep 2007 14:43:01 +0100

Hi Peter,

Thanks for the insight and that part of the problem is solved. However,
I now get new errors when I try 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 but I can't seem
to find the right config file. Any sort of insight would be appreciated.
Cheers.

Regards
Sanjay

>-----Original Message-----
>From: Peter Schober
>[mailto:]
>
>Sent: 20 September 2007 17:52
>To:
>
>Subject: Re: [grouper-users] Ldappc deployment error.
>
>* Peter Schober
><>
> [2007-09-20 18:48]:
>> * Sanjay Vivek
>> <>
>> [2007-09-20 17:57]:
>> > Any idea what's going wrong?
>>
>> 1.3.6.1.4.1.5923.1.1.1.1 is eduPersonAffiliation which is already
>> defined elsewhere in your slapd config.
>
>so you have included some file that already defines the
>eduperson attributes (next it would probably bark on
>1.3.6.1.4.1.5923.1.1.1.2, I suppose).
>
>also note that you should test your slapd config with slaptest(8)
>*before* actually stoping and starting the daemon.
>
>regards,
>-p.schober
>
>--
>
> - vienna university computer center
>Universitaetsstrasse 7, A-1010 Wien, Austria/Europe Tel.
>+43-1-4277-14155, Fax. +43-1-4277-9140
>



Archive powered by MHonArc 2.6.16.

Top of Page