]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: apply auth_service_required to client conns 20156/head
authorJohn Spray <john.spray@redhat.com>
Tue, 23 Jan 2018 12:43:12 +0000 (07:43 -0500)
committerPrashant D <pdhange@redhat.com>
Mon, 29 Jan 2018 02:57:40 +0000 (21:57 -0500)
commitf2a202775fdf1132891221fa58700b276da7429b
tree8057f4fad7fec12a890df9c89f1e47ec216a0adb
parent2852a5f533a5cf044517fa288e8076ac493b1da0
mgr: apply auth_service_required to client conns

Previously was using auth_cluster_required for all
connections, which meant that if someone had
disabled client cephx, they'd get BADAUTHORIZER
from their CLI when it tried to load mgr
command descriptions.

Disabling cephx on the admin CLI is odd, but the mon
tolerates it so the mgr should too.

Fixes: https://tracker.ceph.com/issues/22096
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 86ee30c33a06a13e6bb360b80dd1e41ba928147b)
src/mgr/DaemonServer.cc
src/mgr/DaemonServer.h