summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrashanth Pai <ppai@redhat.com>2013-11-22 11:48:35 +0530
committerLuis Pabon <lpabon@redhat.com>2013-12-11 19:26:07 -0800
commit48c4836be7e2b3c5d30cc1562250090b281e0712 (patch)
treecc7091a8d1beeff78f4e176c7fb6351d7ecc3ecf
parent5562d18fed49e79fc6cf48928119f2f548ff8a35 (diff)
Fix minor typo in gswauth usage documentation
Change-Id: I356f486c28da5c11ab1dec5d83a411f765c235f0 Signed-off-by: Prashanth Pai <ppai@redhat.com> Reviewed-on: http://review.gluster.org/6335 Reviewed-by: Luis Pabon <lpabon@redhat.com> Tested-by: Luis Pabon <lpabon@redhat.com> Signed-off-by: Prashanth Pai <ppai@redhat.com> Reviewed-on: http://review.gluster.org/6432
-rw-r--r--doc/markdown/auth_guide.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/markdown/auth_guide.md b/doc/markdown/auth_guide.md
index b5f2778..215601d 100644
--- a/doc/markdown/auth_guide.md
+++ b/doc/markdown/auth_guide.md
@@ -87,9 +87,12 @@ See <http://gholt.github.com/swauth/> for more information on Swauth.
1. Initialize the GSwauth backing store in Gluster-Swift
``swauth-prep -K swauthkey``
-1. Add an account/user. The account name must match the Glusterfs volume name
+2. Add an account/user. The account name must match the Glusterfs volume name
the user will be given access to. In this example we use the volume ``test``
``swauth-add-user -A http://127.0.0.1:8080/auth/ -K swauthkey -a test user1 password1``
-1. Ensure it works
- ``swift -A http://127.0.0.1:8080/auth/v1.0 -U test:user1 -K password stat``
+3. Ensure it works
+ ``swift -A http://127.0.0.1:8080/auth/v1.0 -U test:user1 -K password1 stat``
+
+4. Ensure the following fails when an incorrect password is used
+ ``swift -A http://127.0.0.1:8080/auth/v1.0 -U test:user1 -K wrongpassword stat``