Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Request for (deeper) test: Net::LDAP::Express

by bronto (Priest)
on Jan 10, 2005 at 09:57 UTC ( #420861=perlquestion: print w/replies, xml ) Need Help??
bronto has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks

In May 2003, after some discussions here and in the perl-ldap list, I published Net::LDAP::Express.

One month ago, I finally published a small amount of changes that were lying around in my hard disk since months, added a patch provided by a user (thanks Gordon!) and deeply revised the test suite.

To cut a long story short, the test suite of the module can simply check if its prerequisite modules are there, or do deeper checks, trying to create and modify entries in the directory server.

Unfortunately, from the reports I had when I uploaded v0.10 (that had a broken test suite) it seems that CPAN testers are doing just the short tests, so I don't know if the deeper tests work fine in environments different from OpenLDAP.

If anybody of you would be so kind to do the deeper tests on the same and, if possible, different environment (like, e.g.: Active Directory, Novell...) and post some report, I would greatly apreciate it.

For those of you that are willing to test, the relevant part of the README file follows.

TESTING THE SOURCE This module's tests require that you have access to a directory server to test the functionalities. If you don't set some environment variables before running "make test", the tests will just check for a correct installation of the module and for the presence of some other modules that Net::LDAP::Express depends upon. To effectively run the tests just prepend to "make test" a sensible assignment to the TEST_HOST environment variable assignment, like in TEST_HOST='' make test This will run the tests contacting the directory server at If the server runs on a non-standard port just add a TEST_PORT variable: TEST_HOST='' TEST_PORT=1389 make test The scripts will try to use ou=simple,o=test as their base subtree (the ou=simple is there because the module was supposed to be called Net::LDAP::Simple in the beginning). If you want to change it, just use a TEST_BASE environment variable with the base subtree of your choice. The tree you use as TEST_BASE will be added a ou=test subtree and the tests will take place there. Feel free to get rid of it when the tests are finished. Some tests will try to create and modify entries on the directory server, and this requires some privileges. The test script will use cn=admin,o=test as bind DN and "secret" as password; again, if this isn't the case you can simply prepend an assignment to TEST_BINDDN and TEST_BINDPW.

Thanks in advance


In theory, there is no difference between theory and practice. In practice, there is.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://420861]
Approved by Corion
Front-paged by grinder
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2017-05-27 15:17 GMT
Find Nodes?
    Voting Booth?