LDAP Benchmarking Script



By: ab

March 1, 2006 7:55 am

Reads: 339

Comments:0

Rating:0

Here is a little Perl script that I have made to do LDAP performance benchmark testing, written on OES Linux. Modifications will undoubtedly be required to run on any box without the Novell ldapsearch utility (/usr/ldaptools/bin/ldapsearch) or on any non-Linux box (paths are different, of course). I have set it up to have variables for just about everything so it should be just a matter of modifying things at the start of the script.

To run this, put it somewhere on your OES Linux box. Customize the variables at the top of the script with the correct values:

  • IP address
  • Port numbers
  • BindDN (admin DN in LDAP format)
  • Bind password
  • DER file location (for secure binds)

Make sure your DER file is where you told the script it was. Then run the script. If the script is executable (chmod +x ldaptest.pl), it should run with a simple:

./ldaptest.pl

If not, do the following:

perl ./ldaptest.pl

Either way, these lines assume you are in the same location as the script path-wise (of course).

Click here to access the script.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags: ,
Categories: Uncategorized

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Comment