Skip to Content.
Sympa Menu

shibboleth-dev - LDAP test

Subject: Shibboleth Developers

List archive

LDAP test


Chronological Thread 
  • From: Joseph Valerio <>
  • To: "" <>
  • Subject: LDAP test
  • Date: Tue, 07 Jul 2009 16:08:37 -0400

Chad,

The LdapAttributeResolverTest fails. 

Running edu.internet2.middleware.shibboleth.common.config.attribute.resolver.LdapAttributeResolverTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.916 sec <<< FAILURE!

It looks like you are referencing a local ldap server on 10389.

    <resolver:DataConnector xsi:type="dc:LDAPDirectory"
                                       id="LocalDirectory"
                                       ldapURL="ldap://localhost:10389/"
                                       baseDN="dc=georgetown,dc=edu"
                                       principal="uid=admin,ou=system"
                                       principalCredential="secret">


You might want to try using a nifty spring ldap server helper...

 <ldap-server ldif="classpath:users.ldif" />

This creates an ldap server temporarily that you can test against.  You just create the ldif file with attributes that you can test against.  Portable and reliable.

- Joe

--
Joseph Valerio

Senior Systems Programmer

Yale University
Technology & Planning
Information Technology Services

phone: 203-432-1196
email:
smail: 25 Science Park, New Haven, CT 06511


  • LDAP test, Joseph Valerio, 07/07/2009

Archive powered by MHonArc 2.6.16.

Top of Page