From edb44bca0e7d53eff5d47ee435ef02c666b47b8e Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 21 Sep 2012 12:06:41 +0000
Subject: [PATCH] Fix OPEND-581: xxxrate usage is wrong

---
 opendj3/opendj-ldap-toolkit/src/main/resources/com/forgerock/opendj/ldap/tools/tools.properties |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/opendj3/opendj-ldap-toolkit/src/main/resources/com/forgerock/opendj/ldap/tools/tools.properties b/opendj3/opendj-ldap-toolkit/src/main/resources/com/forgerock/opendj/ldap/tools/tools.properties
index 3daf739..8f7902e 100755
--- a/opendj3/opendj-ldap-toolkit/src/main/resources/com/forgerock/opendj/ldap/tools/tools.properties
+++ b/opendj3/opendj-ldap-toolkit/src/main/resources/com/forgerock/opendj/ldap/tools/tools.properties
@@ -428,15 +428,15 @@
 INFO_SEARCHRATE_TOOL_DESCRIPTION=This utility can be used to measure \
   search throughput and response time of a directory service using \
   user-defined searches.\n\n\
-  Example:\n\n\ \ searchrate -p 1389 -b "dc=example,dc=com" \\\n\
-  \ \ \ \ -g "rand(names.txt)" "(uid=%%s)" -A -F -c 4 -t 4
+  Example:\n\n\ \ searchrate -p 1389 -D "cn=directory manager" -w password \\\n\
+  \ \ \ \ -F -c 4 -t 4 -b "dc=example,dc=com" -g "rand(0,2000)" "(uid=user.%%d)"
 INFO_SEARCHRATE_TOOL_DESCRIPTION_BASEDN=Base DN format string.
 INFO_MODRATE_TOOL_DESCRIPTION=This utility can be used to measure \
   modify throughput and response time of a directory service using \
   user-defined modifications.\n\n\
   Example:\n\n\ \ modrate -p 1389 -D "cn=directory manager" -w password \\\n\
-  \ \ \ \ -b "uid=%%s,ou=people,dc=example,dc=com" -g "rand(names.txt)" \\\n\
-  \ \ \ \ 'description:%%2$s' -g "randstr(16)" -A -F -c 4 -t 4
+  \ \ \ \ -F -c 4 -t 4 -b "uid=user.%%d,ou=people,dc=example,dc=com" \\\n\
+  \ \ \ \ -g "rand(0,2000)" -g "randstr(16)" 'description:%%2$s'
 INFO_MODRATE_TOOL_DESCRIPTION_TARGETDN=Target entry DN format string
 INFO_AUTHRATE_TOOL_DESCRIPTION=This utility can be used to measure \
   bind throughput and response time of a directory service using \
@@ -445,8 +445,10 @@
   options. A search operation may be used to retrieve the bind DN by \
   specifying the base DN and a filter. The retrieved entry DN will be appended \
   as the last argument in the argument list when evaluating format strings.\n\n\
-  Example:\n\n\ \ authrate -p 1389 -D "uid=%%s,ou=people,dc=example,dc=com" \\\n\
-  \ \ \ \ -w password -g "rand(names.txt)" -c 10 -f
+  Example (bind only):\n\n\ \ authrate -p 1389 -D "uid=user.%%d,ou=people,dc=example,dc=com" \\\n\
+  \ \ \ \  -w password -f -c 10 -g "rand(0,2000)"\n\n\
+  Example (search then bind):\n\n\ \ authrate -p 1389 -D '%%2$s' -w password -f -c 10 \\\n\
+  \ \ \ \ -b "ou=people,dc=example,dc=com" -s one -g "rand(0,2000)" "(uid=user.%%d)"
 INFO_OUTPUT_LDIF_FILE_PLACEHOLDER={file}
 INFO_LDIFMODIFY_DESCRIPTION_OUTPUT_FILENAME=Write updated entries to %s \
  instead of stdout

--
Gitblit v1.10.0