]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: check cap string only if !allow_all 17240/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 21 Aug 2017 21:12:47 +0000 (14:12 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 24 Aug 2017 16:56:03 +0000 (09:56 -0700)
commit75af1705b49bdd257b4df5ddda1fd73a80682e59
tree0c34a545895aeb2b5fbbdabd42e9b0ab304bcd94
parentea7b38ace18fb121000ec351013ccadad91881d1
mds: check cap string only if !allow_all

This corrects a regression introduced by #16891 which fixes
http://tracker.ceph.com/issues/20990. Not using cephx would
cause all clients to fail auth with:

    2017-08-17 12:21:05.191958 7f5b788d4700  0 -- 127.0.0.1:0/65887226 >> 127.0.0.1:6805/3339248996 conn(0x1004be8a0 :-1 s=STATE_CONNECTING_WAIT_CONNECT_REPLY_AUTH pgs=0 cs=0 l=0).handle_connect_reply connect got BADAUTHORIZER

Fixes: http://tracker.ceph.com/issues/21027
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit ce1995fc63829f854f2da16c68bee09c03efa180)
src/mds/MDSDaemon.cc