db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francois Orsini <francois.ors...@gmail.com>
Subject Re: jdbcapi/secureUsers1.sql can fail ( & LDAP authentication)
Date Fri, 13 Jan 2006 17:49:56 GMT
Originally at Cloudscape it also got tested against the Netscape Directory
(LDAP) server.

The Apache Directory Server is supposed to be an embeddable LDAP server
written in Java (but I don't know what the status is on this project). We
could also test against the known OpenLDAP server...Both Open Source ones...


Going against a public one sounds good indeed but then we would have to rely
on it being always up at the time a test is run _or_ we could use 2 public
servers (primary and secondary), hence if the primary one is down, we go
against the secondary (logic added to unit test)...Testing the case of an
ldap server being down is a good negative test itself for the Derby LDAP
authentication provider...

List of some public servers:

My 0.02 cents,


On 1/13/06, Daniel John Debrunner <djd@apache.org> wrote:
> jdbcapi/secureUsers1.sq test tries to connect to a machine called
> 'noSuchMachine' and is expecting a unknown host exception. In some cases
> this will resolve to a valid machine, my domain seems to accept anything
> as a valid machine. I will change the test to use a machine name like
> 'noSuchMachine.noSuchDomain.com'.
> I will also enter a Jira to ensure that we actually test the LDAP
> authentication. I think this test used to go against an internal IBM
> LDAP server when Cloudscape was closed-source. Either we need the test
> to set up a local open source ldap server, or is there a public ldap
> server we could use? Any other ideas?
> Dan.

View raw message