blob: 96136909eda22cb0f55d59c1ce2eadd89a5d2626 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
usage: ldclt [-qQvV] [-E <max errors>]
[-b <base DN>] [-h <host>] [-p <port>] [-t <timeout>]
[-D <bind DN>] [-w <passwd>] [-o <SASL options>]
[-e <execParams>] [-a <max pending>]
[-n <nb threads>] [-i <nb times>] [-N <nb samples>]
[-I <err number>] [-T <total>]
[-r <low> -R <high>]
[-f <filter>] [-s <scope>]
[-S <slave>] [-P<master port>]
[-W <waitsec>] [-Z <certfile>]
This tool is a ldap client targetted to validate the reliability of
the product under test under hard use.
The valid options are:
-a Asynchronous mode, with max pending operations.
-b Give the base DN to use. Default "dc=example,dc=com".
-D Bind DN. See -w
-E Max errors allowed. Default 1000.
-e Execution parameters:
add : ldap_add() entries.
append : append entries to the genldif file.
ascii : ascii 7-bits strings.
attreplace=name:mask : replace attribute of existing entry.
attrlist=name:name:name : specify list of attribs to retrieve
attrsonly=0|1 : ldap_search() parameter. Set 0 to read values.
bindeach : ldap_bind() for each operation.
bindonly : only bind/unbind, no other operation is performed.
close : will close() the fd, rather than ldap_unbind().
cltcertname=name : name of the SSL client certificate
commoncounter : all threads share the same counter.
counteach : count each operation not only successful ones.
delete : ldap_delete() entries.
dontsleeponserverdown : will loop very fast if server down.
emailPerson : objectclass=emailPerson (-e add only).
esearch : exact search.
genldif=filename : generates a ldif file
imagesdir=path : specify where are the images.
incr : incremental values.
inetOrgPerson : objectclass=inetOrgPerson (-e add only).
keydbfile=file : filename of the key database
keydbpin=password : password for accessing the key database
noglobalstats : don't print periodical global statistics
noloop : does not loop the incremental numbers.
object=filename : build object from input file
person : objectclass=person (-e add only).
random : random filters, etc...
randomattrlist=name:name:name : random select attrib in the list
randombase : random base DN.
randombaselow=value : low value for random generator.
randombasehigh=value : high value for random generator.
randombinddn : random bind DN.
randombinddnfromfile=file : retrieve bind DN & passwd from file
randombinddnlow=value : low value for random generator.
randombinddnhigh=value : high value for random generator.
rdn=attrname:value : alternate for -f.
referral=on|off|rebind : change referral behaviour.
scalab01 : activates scalab01 scenario.
scalab01_cnxduration : maximum connection duration.
scalab01_maxcnxnb : modem pool size.
scalab01_wait : sleep() between 2 attempts to connect.
string : create random strings rather than random numbers.
v2 : ldap v2.
withnewparent : rename with newparent specified as argument.
-f Filter for searches.
-h Host to connect. Default "localhost".
-i Number of times inactivity allowed. Default 3 (30 seconds)
-I Ignore errors (cf. -E). Default none.
-n Number of threads. Default 10.
-N Number of samples (10 seconds each). Default infinite.
-o SASL Options.
-p Server port. Default 389.
-P Master port (to check replication). Default 16000.
-q Quiet mode. See option -I.
-Q Super quiet mode.
-r Range's low value.
-R Range's high value.
-s Scope. May be base, subtree or one. Default subtree.
-S Slave to check.
-t LDAP operations timeout. Default 30 seconds.
-T Total number of operations per thread. Default infinite.
-v Verbose.
-V Very verbose.
-w Bind passwd. See -D.
-W Wait between two operations. Default 0 seconds.
-Z certfile. Turn on SSL and use certfile as the certificate DB
|