]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/auth: Fix the return code returned by AuthStrategy, 54795/head
authorPritha Srivastava <prsrivas@redhat.com>
Thu, 20 Jul 2023 06:05:09 +0000 (11:35 +0530)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Tue, 5 Dec 2023 19:54:08 +0000 (02:54 +0700)
commit40176698ef7c62cddfd9e7d093bb38ddd879fab8
treedff103e657fbaede29147e5bfa53f6c39c6e43fb
parentece0d60728c6966000bb839fe46b2b8e2bdb5305
rgw/auth: Fix the return code returned by AuthStrategy,
in case of LocalEngine authentication, when the previous
auth engine is Not Applicable. The error code now returned
is the one returned by LocalEngine.

fixes: https://tracker.ceph.com/issues/61916

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
(cherry picked from commit 6f7ef8620e52be776ef633bb962a4309996529df)
src/rgw/rgw_auth.cc
src/rgw/rgw_rest_s3.cc