ldclt.1 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. .\" Hey, EMACS: -*- nroff -*-
  2. .\" First parameter, NAME, should be all caps
  3. .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
  4. .\" other parameters are allowed: see man(7), man(1)
  5. .TH LDCLT 1 "May 18, 2008"
  6. .\" Please adjust this date whenever revising the manpage.
  7. .\"
  8. .\" Some roff macros, for reference:
  9. .\" .nh disable hyphenation
  10. .\" .hy enable hyphenation
  11. .\" .ad l left justify
  12. .\" .ad b justify to both left and right margins
  13. .\" .nf disable filling
  14. .\" .fi enable filling
  15. .\" .br insert line break
  16. .\" .sp <n> insert n+1 empty lines
  17. .\" for manpage-specific macros, see man(7)
  18. .SH NAME
  19. ldclt \- load test program for LDAP
  20. .SH SYNOPSYS
  21. .B ldclt
  22. [\fI\-qQvV\fR] [\fI\-E <max errors>\fR]
  23. [\fI\-b <base DN>\fR] [\fI\-h <host>\fR] [\fI\-p <port>\fR] [\fI\-t <timeout>\fR]
  24. [\fI\-D <bind DN>\fR] [\fI\-w <passwd>\fR] [\fI\-o <SASL option>\fR]
  25. [\fI\-e <execParams>\fR] [\fI\-a <max pending>\fR]
  26. [\fI\-n <nb threads>\fR] [\fI\-i <nb times>\fR] [\fI\-N <nb samples>\fR]
  27. [\fI\-I <err number>\fR] [\fI\-T <total>\fR]
  28. [\fI\-r <low> \-R <high>\fR]
  29. [\fI\-f <filter>\fR] [\fI\-s <scope>\fR]
  30. [\fI\-S <slave>\fR] [\fI\-P<master port>\fR]
  31. [\fI\-W <waitsec>\fR] [\fI\-Z <certfile>\fR]
  32. .PP
  33. .SH DESCRIPTION
  34. This tool is a LDAP client targeted to validate the reliability of
  35. the product under a wide variety of stress conditions.
  36. .PP
  37. .SH OPTIONS
  38. The valid options are:
  39. .TP
  40. .B \fB\-a\fR
  41. Asynchronous mode, with max pending operations.
  42. .TP
  43. .B \fB\-b\fR
  44. Give the base DN to use. Default "dc=example,dc=com".
  45. .TP
  46. .B \fB\-D\fR
  47. Bind DN. See \fB\-w\fR
  48. .TP
  49. .B \fB\-E\fR
  50. Max errors allowed. Default 1000.
  51. .TP
  52. .B \fB\-f\fR
  53. Filter for searches.
  54. .TP
  55. .B \fB\-h\fR
  56. Host to connect. Default "localhost".
  57. .TP
  58. .B \fB\-H\fR
  59. Ldap URL to connect to. Example, ldap://localhost:389. This takes precedence over -h and -p.
  60. .TP
  61. .B \fB\-i\fR
  62. Number of times inactivity allowed. Default 3 (30 seconds)
  63. .TP
  64. \fB\-I\fR
  65. Ignore errors (cf. \fB\-E\fR). Default none.
  66. .TP
  67. .B \fB\-n\fR
  68. Number of threads. Default 10.
  69. .TP
  70. .B \fB\-N\fR
  71. Number of samples (10 seconds each). Default infinite.
  72. .TP
  73. .B \fB\-o\fR
  74. SASL Option.
  75. .TP
  76. .B \fB\-p\fR
  77. Server port. Default 389.
  78. .TP
  79. .B \fB\-P\fR
  80. Master port (to check replication). Default 16000.
  81. .TP
  82. .B \fB\-q\fR
  83. Quiet mode. See option \fB\-I\fR.
  84. .TP
  85. .B \fB\-Q\fR
  86. Super quiet mode.
  87. .TP
  88. .B \fB\-r\fR
  89. Range's low value.
  90. .TP
  91. .B \fB\-R\fR
  92. Range's high value.
  93. .TP
  94. .B \fB\-s\fR
  95. Scope. May be base, subtree or one. Default subtree.
  96. .TP
  97. .B \fB\-S\fR
  98. Slave to check.
  99. .TP
  100. .B \fB\-t\fR
  101. LDAP operations timeout. Default 30 seconds.
  102. .TP
  103. .B \fB\-T\fR
  104. Total number of operations per thread. Default infinite.
  105. .TP
  106. .B \fB\-v\fR
  107. Verbose.
  108. .TP
  109. .B \fB\-V\fR
  110. Very verbose.
  111. .TP
  112. .B \fB\-w\fR
  113. Bind passwd. See \fB\-D\fR.
  114. .TP
  115. .B \fB\-W\fR
  116. Wait between two operations. Default 0 seconds.
  117. .TP
  118. .B \fB\-Z\fR
  119. certfile. Turn on SSL and use certfile as the certificate DB
  120. .TP
  121. .B \fB\-e\fR
  122. Execution parameters:
  123. .IP
  124. \fBadd\fR ldap_add() entries.
  125. .br
  126. \fBappend\fR entries to the genldif file.
  127. .br
  128. \fBascii\fR ascii 7\-bits strings.
  129. .br
  130. \fBattreplace=name:mask\fR replace attribute of existing entry.
  131. .br
  132. \fBattrlist=name:name:name\fR specify list of attribs to retrieve
  133. .br
  134. \fBattrsonly=0|1\fR ldap_search() parameter. Set 0 to read values.
  135. .br
  136. \fBbindeach\fR ldap_bind() for each operation.
  137. .br
  138. \fBbindonly\fR only bind/unbind, no other operation is performed.
  139. .br
  140. \fBclose\fR will close() the fd, rather than ldap_unbind().
  141. .br
  142. \fBcltcertname=name\fR name of the SSL client certificate
  143. .br
  144. \fBcommoncounter\fR all threads share the same counter.
  145. .br
  146. \fBcounteach\fR count each operation not only successful ones.
  147. .br
  148. \fBdelete\fR ldap_delete() entries.
  149. .br
  150. \fBdontsleeponserverdown\fR will loop very fast if server down.
  151. .br
  152. \fBemailPerson\fR objectclass=emailPerson (\fB\-e\fR add only).
  153. .br
  154. \fBesearch\fR exact search.
  155. .br
  156. \fBgenldif=filename\fR generates a ldif file
  157. .br
  158. \fBimagesdir=path\fR specify where are the images.
  159. .br
  160. \fBincr\fR incremental values.
  161. .br
  162. \fBinetOrgPerson\fR objectclass=inetOrgPerson (\fB\-e\fR add only).
  163. .br
  164. \fBkeydbfile=file\fR filename of the key database
  165. .br
  166. \fBkeydbpin=password\fR password for accessing the key database
  167. .br
  168. \fBnoglobalstats\fR don't print periodical global statistics
  169. .br
  170. \fBnoloop\fR does not loop the incremental numbers.
  171. .br
  172. \fBobject=filename\fR build object from input file
  173. .br
  174. \fBperson\fR objectclass=person (\fB\-e\fR add only).
  175. .br
  176. \fBrandom\fR random filters, etc...
  177. .br
  178. \fBrandomattrlist=name:name:name\fR random select attrib in the list
  179. .br
  180. \fBrandombase\fR random base DN.
  181. .br
  182. \fBrandombaselow=value\fR low value for random generator.
  183. .br
  184. \fBrandombasehigh=value\fR high value for random generator.
  185. .br
  186. \fBrandombinddn\fR random bind DN.
  187. .br
  188. \fBrandombinddnfromfile=fine\fR retrieve bind DN & passwd from file
  189. .br
  190. \fBrandombinddnlow=value\fR low value for random generator.
  191. .br
  192. \fBrandombinddnhigh=value\fR high value for random generator.
  193. .br
  194. \fBrdn=attrname:value\fR alternate for \fB\-f\fR.
  195. .br
  196. \fBreferral=on|off|rebind\fR change referral behaviour.
  197. .br
  198. \fBscalab01\fR activates scalab01 scenario.
  199. .br
  200. \fBscalab01_cnxduration\fR maximum connection duration.
  201. .br
  202. \fBscalab01_maxcnxnb\fR modem pool size.
  203. .br
  204. \fBscalab01_wait\fR sleep() between 2 attempts to connect.
  205. .br
  206. \fBsmoothshutdown\fR main thread waits till the worker threads exit.
  207. .br
  208. \fBstring\fR create random strings rather than random numbers.
  209. .br
  210. \fBv2\fR ldap v2.
  211. .br
  212. \fBwithnewparent\fR rename with newparent specified as argument.
  213. .br
  214. \fBrandomauthid\fR random SASL Authid.
  215. .br
  216. \fBrandomauthidlow=value\fR low value for random SASL Authid.
  217. .br
  218. \fBrandomauthidhigh=value\fR high value for random SASL Authid.
  219. .PP
  220. .SH AUTHOR
  221. ldclt was written by the 389 Project.
  222. .SH "REPORTING BUGS"
  223. Report bugs to https://fedorahosted.org/389/newticket.
  224. .SH COPYRIGHT
  225. Copyright \(co 2001 Sun Microsystems, Inc. Used by permission.
  226. .br
  227. Copyright \(co 2008 Red Hat, Inc.
  228. .br
  229. This manual page was written by Michele Baldessari <[email protected]>,
  230. for the Debian project (but may be used by others).
  231. .br
  232. This is free software. You may redistribute copies of it under the terms of
  233. the Directory Server license found in the LICENSE file of this
  234. software distribution. This license is essentially the GNU General Public
  235. License version 2 with an exception for plug-in distribution.