1LDCLT(1)                    General Commands Manual                   LDCLT(1)
2
3
4

NAME

6       ldclt - load test program for LDAP
7

SYNOPSYS

9       ldclt  [-qQvV] [-E <max errors>] [-b <base DN>] [-h <host>] [-p <port>]
10       [-t <timeout>] [-D <bind DN>] [-w  <passwd>]  [-o  <SASL  option>]  [-e
11       <execParams>]  [-a <max pending>] [-n <nb threads>] [-i <nb times>] [-N
12       <nb samples>] [-I <err number>] [-T <total>] [-r <low> -R  <high>]  [-f
13       <filter>]  [-s  <scope>]  [-S <slave>] [-P<master port>] [-W <waitsec>]
14       [-Z <certfile>]
15

DESCRIPTION

17       This tool is a LDAP client targeted to validate the reliability of  the
18       product under a wide variety of stress conditions.
19

OPTIONS

21       The valid options are:
22
23       -a     Asynchronous mode, with max pending operations.
24
25       -b     Give the base DN to use. Default "o=sun,c=us".
26
27       -D     Bind DN. See -w
28
29       -E     Max errors allowed. Default 1000.
30
31       -f     Filter for searches.
32
33       -h     Host to connect. Default "localhost".
34
35       -i     Number of times inactivity allowed. Default 3 (30 seconds)
36
37       -I     Ignore errors (cf. -E). Default none.
38
39       -n     Number of threads. Default 10.
40
41       -N     Number of samples (10 seconds each). Default infinite.
42
43       -o     SASL Option.
44
45       -p     Server port. Default 389.
46
47       -P     Master port (to check replication). Default 16000.
48
49       -q     Quiet mode. See option -I.
50
51       -Q     Super quiet mode.
52
53       -r     Range's low value.
54
55       -R     Range's high value.
56
57       -s     Scope. May be base, subtree or one. Default subtree.
58
59       -S     Slave to check.
60
61       -t     LDAP operations timeout. Default 30 seconds.
62
63       -T     Total number of operations per thread. Default infinite.
64
65       -v     Verbose.
66
67       -V     Very verbose.
68
69       -w     Bind passwd. See -D.
70
71       -W     Wait between two operations. Default 0 seconds.
72
73       -Z     certfile. Turn on SSL and use certfile as the certificate DB
74
75       -e     Execution parameters:
76
77              add ldap_add() entries.
78              append entries to the genldif file.
79              ascii ascii 7-bits strings.
80              attreplace=name:mask replace attribute of existing entry.
81              attrlist=name:name:name specify list of attribs to retrieve
82              attrsonly=0|1 ldap_search() parameter. Set 0 to read values.
83              bindeach ldap_bind() for each operation.
84              bindonly only bind/unbind, no other operation is performed.
85              close will close() the fd, rather than ldap_unbind().
86              cltcertname=name name of the SSL client certificate
87              commoncounter all threads share the same counter.
88              counteach count each operation not only successful ones.
89              delete ldap_delete() entries.
90              dontsleeponserverdown will loop very fast if server down.
91              emailPerson objectclass=emailPerson (-e add only).
92              esearch exact search.
93              genldif=filename generates a ldif file
94              imagesdir=path specify where are the images.
95              incr incremental values.
96              inetOrgPerson objectclass=inetOrgPerson (-e add only).
97              keydbfile=file filename of the key database
98              keydbpin=password password for accessing the key database
99              noglobalstats don't print periodical global statistics
100              noloop does not loop the incremental numbers.
101              object=filename build object from input file
102              person objectclass=person (-e add only).
103              random random filters, etc...
104              randomattrlist=name:name:name random select attrib in the list
105              randombase random base DN.
106              randombaselow=value low value for random generator.
107              randombasehigh=value high value for random generator.
108              randombinddn random bind DN.
109              randombinddnfromfile=fine retrieve bind DN & passwd from file
110              randombinddnlow=value low value for random generator.
111              randombinddnhigh=value high value for random generator.
112              rdn=attrname:value alternate for -f.
113              referral=on|off|rebind change referral behaviour.
114              scalab01 activates scalab01 scenario.
115              scalab01_cnxduration maximum connection duration.
116              scalab01_maxcnxnb modem pool size.
117              scalab01_wait sleep() between 2 attempts to connect.
118              smoothshutdown main thread waits till the worker threads exit.
119              string create random strings rather than random numbers.
120              v2 ldap v2.
121              withnewparent rename with newparent specified as argument.
122              randomauthid random SASL Authid.
123              randomauthidlow=value low value for random SASL Authid.
124              randomauthidhigh=value high value for random SASL Authid.
125

AUTHOR

127       ldclt was written by the 389 Project.
128

REPORTING BUGS

130       Report bugs to http://bugzilla.redhat.com.
131
133       Copyright © 2001 Sun Microsystems, Inc. Used by permission.
134       Copyright © 2008 Red Hat, Inc.
135       This    manual    page    was    written    by    Michele    Baldessari
136       <michele@pupazzo.org>, for the Debian project (but may be used by  oth‐
137       ers).
138       This  is  free  software.   You may redistribute copies of it under the
139       terms of the Directory Server license found in the LICENSE file of this
140       software  distribution.   This  license  is essentially the GNU General
141       Public License version 2 with an exception for plug-in distribution.
142
143
144
145                                 May 18, 2008                         LDCLT(1)
Impressum