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...

http://directory.apache.org/subprojects/apacheds/features.html
http://www.openldap.org/

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:
http://www.emailman.com/ldap/public.html

My 0.02 cents,

--francois

On 1/13/06, Daniel John Debrunner <[EMAIL PROTECTED]> 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.


Reply via email to