]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: check cap string only if !allow_all 17122/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 21 Aug 2017 21:12:47 +0000 (14:12 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 21 Aug 2017 21:32:31 +0000 (14:32 -0700)
commitce1995fc63829f854f2da16c68bee09c03efa180
treef2411a984872530d44e86f2d8f847ca1ee5cb3aa
parentad9a299e143a66e378603b2b57da1d43158689c0
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>
src/mds/MDSDaemon.cc