Article

aburgemeister's picture
article
Reads:

4939

Score:
0
0
 
Comments:

0

LDAP Benchmarking Script

Author Info

1 March 2006 - 7:55am
Submitted by: aburgemeister

(View Disclaimer)

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.


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell