]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: disable cephx requires auth_supported = none 713/head
authorLoic Dachary <loic@dachary.org>
Sun, 13 Oct 2013 09:14:14 +0000 (11:14 +0200)
committerLoic Dachary <loic@dachary.org>
Sun, 13 Oct 2013 09:18:27 +0000 (11:18 +0200)
    auth cluster required = none
    auth service required = none
    auth client required = none

is not enough to disable cephx if there is a

    auth_supported = cephx

line in the [global] section. It will produce the following error

    # ceph --id myself auth list
    2013-10-13 11:05:00.368638 7f812aea3700  0 librados: client.myself authentication error (1) Operation not permitted
    Error connecting to cluster: PermissionError

Changing the line to

    auth_supported = none

fixes the problem.

Signed-off-by: Loic Dachary <loic@dachary.org>
doc/rados/operations/authentication.rst

index 6bacf4c7dffb2694c774392cc63137cedf79f10b..5c6c90447a80a64602816ed200b270a5429cdf18 100644 (file)
@@ -154,6 +154,7 @@ during setup and/or troubleshooting to temporarily disable authentication.
     auth cluster required = none
     auth service required = none
     auth client required = none
+    auth_supported = none
 
 #. Or, disable ``cephx`` authentication for versions ``0.50`` and below 
    (deprecated as of version 0.51) by setting the following option in the