]> git-server-git.apps.pok.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>
Tue, 2 Sep 2025 17:05:45 +0000 (22:35 +0530)
commit03e71cf369c9a72e45ad898303ed82cd19292c8d
tree2d31670b4bc0f0c55364ebe4a457e7dcb201c531
parent78c15dfd064132a8ee9900892836fa6ba8d51917
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>
(cherry picked from commit 5de7e746b79ca454010e1358d198beb625cb93e9)
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