Novell Home

LDAP Benchmarking Script

Novell Cool Solutions: Tip
By Aaron Burgemeister

Digg This - Slashdot This

Posted: 1 Mar 2006
 

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.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell