From d052fc3a43c7446adfab65b9e1bb8e3427425a41 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Mon, 12 Sep 2011 08:00:24 +0000
Subject: [PATCH] Showed an example using encode-password to generate a userPassword value

---
 opendj3/src/main/docbkx/admin-guide/chap-ldap-operations.xml |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/opendj3/src/main/docbkx/admin-guide/chap-ldap-operations.xml b/opendj3/src/main/docbkx/admin-guide/chap-ldap-operations.xml
index 9df6593..dd8a8de 100644
--- a/opendj3/src/main/docbkx/admin-guide/chap-ldap-operations.xml
+++ b/opendj3/src/main/docbkx/admin-guide/chap-ldap-operations.xml
@@ -498,7 +498,13 @@
       <para>Generate an encoded password value using the
       <command>encode-password</command> command.</para>
       <para>By default, the password for Directory Manager uses the SSHA512
-      password storage scheme.</para>
+      password storage scheme. In the following example, the encoded password
+      is wrapped to fit on a printed page.</para>
+      <screen>$ encode-password -s SSHA512 -i
+Please enter the password :
+Please renter the password:
+Encoded Password:  "{SSHA512}U7Kx5oYcLxdsqSrpSkBk425LwL0Z61loNfS0dBVCcEKVhMyTT
+oe3oWikDJ/AJjKEkYBg+q3VUQ5hWgrGVf7MjfDrm5mum6yI"</screen>
      </listitem>
      <listitem>
       <para>Stop OpenDJ.</para>

--
Gitblit v1.10.0