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.