]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: fixed some inccorrect syntax.
authorJohn Wilkins <john.wilkins@inktank.com>
Tue, 6 Nov 2012 17:13:54 +0000 (09:13 -0800)
committerJohn Wilkins <john.wilkins@inktank.com>
Tue, 6 Nov 2012 17:13:54 +0000 (09:13 -0800)
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc/cluster-ops/authentication.rst
doc/rbd/rbd-ko.rst

index 43e8c40be7f8aa74a5cc5388dc4951e7bcdb7f4a..bad7b8891e2e73baef7be6ed9fb1001834f68031 100644 (file)
@@ -275,27 +275,29 @@ For example::
 
 Ceph supports the following usage for user name and secret:
 
-``--id``
-
-:Description: A user name consists of a type and an ID (e.g., ``TYPE.ID`` or
-              ``client.admin``, ``client.user1``). The ``id`` argument enables
-              you to specify the ID portion of the user name (e.g., ``admin``, 
-              ``user1``, ``foo``, etc.). You can specify the user with the 
-              ``--id`` and omit the type. For example, to specify user 
-              ``client.foo`` enter the following:: 
+``--id`` | ``--user``
+
+:Description: Ceph identifies users with a type and an ID (e.g., ``TYPE.ID`` or
+              ``client.admin``, ``client.user1``). The ``id``, ``name`` and 
+              ``-n`` options enable you to specify the ID portion of the user 
+              name (e.g., ``admin``, ``user1``, ``foo``, etc.). You can specify 
+              the user with the ``--id`` and omit the type. For example, 
+              to specify user ``client.foo`` enter the following:: 
               
                ceph --id foo --keyring /path/to/keyring health
+               ceph --user foo --keyring /path/to/keyring health
 
 
-``--user`` | ``--name``
+``--name``
 
-:Description: Newer versions of Ceph support ``--name``, ``-n`` and ``--user`` 
-              arguments in addition to ``--id``. However, you must specify the
-              user type (typically ``client``). For example:: 
+:Description: Ceph identifies users with a type and an ID (e.g., ``TYPE.ID`` or
+              ``client.admin``, ``client.user1``). The ``--name`` and ``-n`` 
+              options enables you to specify the fully qualified user name. 
+              You must specify the user type (typically ``client``) with the 
+              user ID. For example:: 
 
                ceph --name client.foo --keyring /path/to/keyring health
                ceph -n client.foo --keyring /path/to/keyring health
-               ceph --user client.foo --keyring /path/to/keyring health
               
 
 
index ea2eb9bca6fdce65438f71b7486816ae84db78ba..393c8559f7bbe1bcbc33326b02564e75711d51a7 100644 (file)
@@ -28,13 +28,13 @@ image name, the pool name, and the user name. ::
 
 For example:: 
 
-  sudo rbd map foo --pool rbd myimage --id client.admin
+  sudo rbd map foo --pool rbd myimage --id admin
  
 If you use `cephx`_ authentication, you must also specify a secret.  It may come
 from a keyring or a file containing the secret. ::
 
-  sudo rbd map foo --pool rbd myimage --id client.foo --keyring /path/to/keyring
-  sudo rbd map foo --pool rbd myimage --id client.foo --keyfile /path/to/file
+  sudo rbd map foo --pool rbd myimage --id admin --keyring /path/to/keyring
+  sudo rbd map foo --pool rbd myimage --id admin --keyfile /path/to/file
 
 
 Show Mapped Block Devices