]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
auth: msgr2 can return incorrect allowed_modes through AuthBadMethodFrame
authorMiki Patel <miki.patel132@gmail.com>
Mon, 28 Jul 2025 10:31:54 +0000 (16:01 +0530)
committerMiki Patel <miki.patel132@gmail.com>
Fri, 1 Aug 2025 08:12:13 +0000 (13:42 +0530)
commit5de7e746b79ca454010e1358d198beb625cb93e9
tree33f8ebeecf2408589259bddb26a9212884324827
parent866054fd3cff6233233d09a25e5176e8604333fe
auth: msgr2 can return incorrect allowed_modes through AuthBadMethodFrame

Updating AuthServer interface to return correct modes by dividing function
get_supported_auth_methods() into two functions to get methods and modes separately.

Fixes: https://tracker.ceph.com/issues/72265
Signed-off-by: Miki Patel <miki.patel132@gmail.com>
src/auth/AuthServer.h
src/crimson/auth/AuthServer.h
src/crimson/auth/DummyAuth.h
src/crimson/mon/MonClient.cc
src/crimson/mon/MonClient.h
src/crimson/net/ProtocolV2.cc
src/msg/async/ProtocolV2.cc