]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephx: Let's not use the deprecated option 12721/head
authorDave Chen <wei.d.chen@intel.com>
Fri, 30 Dec 2016 09:04:28 +0000 (17:04 +0800)
committerDave Chen <wei.d.chen@intel.com>
Fri, 30 Dec 2016 09:04:28 +0000 (17:04 +0800)
Enable cephx by setting the option of "auth supported" has been
deprecated for a long time, it's better to use the recommended
options instead.

Signed-off-by: Dave Chen <wei.d.chen@intel.com>
src/vstart.sh

index d09df84ed5b4c1e877a0c53ab017ce3814762eb3..6be6757871b89d1261f3eade2860527e259882e1 100755 (executable)
@@ -528,7 +528,9 @@ EOF
                fi
                if [ "$cephx" -eq 1 ] ; then
                        wconf <<EOF
-        auth supported = cephx
+        auth cluster required = cephx
+        auth service required = cephx
+        auth client required = cephx
 EOF
                else
                        wconf <<EOF