Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by bronto (Priest)
on Jan 10, 2005 at 09:57 UTC ( [id://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='ldap.server.com' make test This will run the tests contacting the directory server at ldap.server.com. If the server runs on a non-standard port just add a TEST_PORT variable: TEST_HOST='ldap.server.com' 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

Ciao!
--bronto


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://420861]
Approved by Corion
Front-paged by grinder
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-03-28 18:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found