LDAPTestsTool

Description#

We create a lot of custom tools for clients when we are implementing LDAP directories. The LDAPTest tool is a collection of a couple of those tools we have found useful for determining the relative performance of an LDAP server.

The Setup is a little weird as it was setup for working with multiple sites which had multiple environments (like Dev test production) which have multiple servers in each environment.

Use Entirely at Your Own Risk CISUS.COM nor anyone else is responsible if you use a tool or any information on this site and causes damages to anyone or anything! You are required to read Our Standard Disclaimer

Warning! #

Any of the Buttons with Colored Text either write the LDAP server or require that the "cn=UserT" user exist within the search Base.

Setting up#

You need at LEAST three file created to make this work.

Sites File#

The program uses a concept of Sites which contain hosts which run services. A site, can contain multiple hosts and each host could run multiple services. There is a site.properties file that contains entries like:
#Site file
#Example site1=Company (Note: no Spaces please and the format is site#=name)
site1=CompanyOne
site2=CompanyTwo 

Host Properties Files#

You will then need a file with a name like companyOne.properties.

You will have one file for each entry in the Sites File. Each file must be named as sitename.properties

This file would contain the host names similar to:

#host1=hostName (No spaces. This is what shows in report. Does not need to be a DNS Name. Format is like host#))
#host1IP=ipAddress (DNS or IP address)
host1=serverName
host1IP=172.25.115.101
host2=serverTwoName
host2IP=172.25.115.102 

Service Properties Files#

Finally, you will need a service properties file for each host listed above with each service listed. The name would be similar to serverName.properties.
#Service property file
#Service One
service1=LDAP
service1Port=389
service1DN='cn=admin,dc=companyOne,dc=com'
service1Pwd=password
service1Base='dc=companyOne,dc=com'
service1SubjectDN='cn=UserT,ou=accounting'
# Service Two
cservice2=LDAPS
service2Port=636
service2DN='cn=administrator,cn=users,dc=companyOne,dc=com'
service2Pwd=password
service2Base='dc=companyOne,dc=com'
service2SubjectDN='cn=UserT,ou=accounting'
service2SSL=true

Setup Tab#

When the program starts it will read the Site file and populate the "Site" combobox on the setup page. When a Site is selected, the "Host" combobox will then be populated. Finally, the "Service" combobox is populated.

Currently, the comboboxes are not editable and the values need to be entered into the property files as indicated. Any of the field boxes maybe changed, however, the changes will not be saved.

On the Setup Tab, the entries are defined as follows:

Output Tab#

The OutPut tab contains the following:

General Notes#

The program runs in one thread. When performing a test, the GUI will be inactive. Some tests depending on the performance of your servers, network links and number of entries in your directory may take several minutes to complete. Be patient.

For help with the LDIFGen Tool. For help with the SchemaBrowser Tool.

Please provide any constructive feedback or enhancement requests#

Download#

Java Versions And Running These Programs#