summaryrefslogtreecommitdiffstats
path: root/doc/markdown
diff options
context:
space:
mode:
authorPrashanth Pai <ppai@redhat.com>2013-12-06 12:10:20 +0530
committerLuis Pabon <lpabon@redhat.com>2013-12-16 08:09:38 -0800
commite61f396cc79f013c0c0db0f521888c3bb878dd99 (patch)
tree19a2677e9a67bb91024a0931210a61e762336743 /doc/markdown
parentcaeabbb85ecb8099df844b59af3cbfe37aa3091b (diff)
Fix typo and add comment
Fix spelling of "privileges" in gswauth-* commands. Add comment to clarify use of req.credentials_valid. Change-Id: Ibb4d331f57df29e28670252b1360b3a72ea688cf Signed-off-by: Prashanth Pai <ppai@redhat.com> Reviewed-on: http://review.gluster.org/6448 Reviewed-by: Luis Pabon <lpabon@redhat.com> Tested-by: Luis Pabon <lpabon@redhat.com>
Diffstat (limited to 'doc/markdown')
-rw-r--r--doc/markdown/auth_guide.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/markdown/auth_guide.md b/doc/markdown/auth_guide.md
index 4d601e6..215601d 100644
--- a/doc/markdown/auth_guide.md
+++ b/doc/markdown/auth_guide.md
@@ -87,10 +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
+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``