]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: apply auth_service_required to client conns 20048/head
authorJohn Spray <john.spray@redhat.com>
Tue, 23 Jan 2018 12:43:12 +0000 (07:43 -0500)
committerJohn Spray <john.spray@redhat.com>
Tue, 23 Jan 2018 12:45:26 +0000 (07:45 -0500)
commit86ee30c33a06a13e6bb360b80dd1e41ba928147b
tree4ed4ec390a036fc9a71dee2357a035d29f9e9d8f
parent1e06fe003e50d360b5c5ce9824bba044b6406ec5
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>
src/mgr/DaemonServer.cc
src/mgr/DaemonServer.h