From 1d336df15b23f2ddd8ba0af33cec9f56e1797ac4 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Fri, 18 Nov 2011 17:12:53 +0000
Subject: [PATCH] Fix for OpenDJ-358: Tools such as backup should allow to prompt for bind Password when none is provided
---
opendj3/src/main/docbkx/shared/man-backup.xml | 2 ++
opendj3/src/main/docbkx/shared/man-restore.xml | 2 ++
opendj3/src/main/docbkx/shared/man-stop-ds.xml | 2 ++
opendj3/src/main/docbkx/shared/man-rebuild-index.xml | 2 ++
opendj3/src/main/docbkx/shared/man-export-ldif.xml | 2 ++
opendj3/src/main/docbkx/shared/man-import-ldif.xml | 2 ++
opendj3/src/main/docbkx/shared/man-manage-account.xml | 2 ++
7 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/opendj3/src/main/docbkx/shared/man-backup.xml b/opendj3/src/main/docbkx/shared/man-backup.xml
index dc138f5..13788c4 100644
--- a/opendj3/src/main/docbkx/shared/man-backup.xml
+++ b/opendj3/src/main/docbkx/shared/man-backup.xml
@@ -197,6 +197,8 @@
<term><option>-w, --bindPassword {bindPassword}</option></term>
<listitem>
<para>Password to use to bind to the server</para>
+ <para>Use <option>-w -</option> to have the command prompt for the
+ password, rather than enter the password on the command line.</para>
</listitem>
</varlistentry>
<varlistentry>
diff --git a/opendj3/src/main/docbkx/shared/man-export-ldif.xml b/opendj3/src/main/docbkx/shared/man-export-ldif.xml
index 78864a8..4b30ef8 100644
--- a/opendj3/src/main/docbkx/shared/man-export-ldif.xml
+++ b/opendj3/src/main/docbkx/shared/man-export-ldif.xml
@@ -210,6 +210,8 @@
<term><option>-w, --bindPassword {bindPassword}</option></term>
<listitem>
<para>Password to use to bind to the server</para>
+ <para>Use <option>-w -</option> to have the command prompt for the
+ password, rather than enter the password on the command line.</para>
</listitem>
</varlistentry>
<varlistentry>
diff --git a/opendj3/src/main/docbkx/shared/man-import-ldif.xml b/opendj3/src/main/docbkx/shared/man-import-ldif.xml
index 0d0f904..116f9e5 100644
--- a/opendj3/src/main/docbkx/shared/man-import-ldif.xml
+++ b/opendj3/src/main/docbkx/shared/man-import-ldif.xml
@@ -278,6 +278,8 @@
<term><option>-w, --bindPassword {bindPassword}</option></term>
<listitem>
<para>Password to use to bind to the server</para>
+ <para>Use <option>-w -</option> to have the command prompt for the
+ password, rather than enter the password on the command line.</para>
</listitem>
</varlistentry>
<varlistentry>
diff --git a/opendj3/src/main/docbkx/shared/man-manage-account.xml b/opendj3/src/main/docbkx/shared/man-manage-account.xml
index ce0d111..d8312b7 100644
--- a/opendj3/src/main/docbkx/shared/man-manage-account.xml
+++ b/opendj3/src/main/docbkx/shared/man-manage-account.xml
@@ -294,6 +294,8 @@
<term><option>-w, --bindPassword {bindPassword}</option></term>
<listitem>
<para>Password to use to bind to the server</para>
+ <para>Use <option>-w -</option> to have the command prompt for the
+ password, rather than enter the password on the command line.</para>
</listitem>
</varlistentry>
<varlistentry>
diff --git a/opendj3/src/main/docbkx/shared/man-rebuild-index.xml b/opendj3/src/main/docbkx/shared/man-rebuild-index.xml
index 9dcc45f..20580de 100644
--- a/opendj3/src/main/docbkx/shared/man-rebuild-index.xml
+++ b/opendj3/src/main/docbkx/shared/man-rebuild-index.xml
@@ -169,6 +169,8 @@
<term><option>-w, --bindPassword {bindPassword}</option></term>
<listitem>
<para>Password to use to bind to the server</para>
+ <para>Use <option>-w -</option> to have the command prompt for the
+ password, rather than enter the password on the command line.</para>
</listitem>
</varlistentry>
<varlistentry>
diff --git a/opendj3/src/main/docbkx/shared/man-restore.xml b/opendj3/src/main/docbkx/shared/man-restore.xml
index cfa7751..c7472f3 100644
--- a/opendj3/src/main/docbkx/shared/man-restore.xml
+++ b/opendj3/src/main/docbkx/shared/man-restore.xml
@@ -161,6 +161,8 @@
<term><option>-w, --bindPassword {bindPassword}</option></term>
<listitem>
<para>Password to use to bind to the server</para>
+ <para>Use <option>-w -</option> to have the command prompt for the
+ password, rather than enter the password on the command line.</para>
</listitem>
</varlistentry>
<varlistentry>
diff --git a/opendj3/src/main/docbkx/shared/man-stop-ds.xml b/opendj3/src/main/docbkx/shared/man-stop-ds.xml
index 5e1c11c..6cece0a 100644
--- a/opendj3/src/main/docbkx/shared/man-stop-ds.xml
+++ b/opendj3/src/main/docbkx/shared/man-stop-ds.xml
@@ -163,6 +163,8 @@
<term><option>-w, --bindPassword {bindPassword}</option></term>
<listitem>
<para>Password to use to bind to the server</para>
+ <para>Use <option>-w -</option> to have the command prompt for the
+ password, rather than enter the password on the command line.</para>
</listitem>
</varlistentry>
<varlistentry>
--
Gitblit v1.10.0