Skip to content

Commit d03901b

Browse files
authored
Merge pull request ceph#60773 from pritha-srivastava/wip-rgw-revert-auth-code
Revert "rgw/auth: Fix the return code returned by AuthStrategy," Reviewed-by: Casey Bodley <[email protected]>
2 parents 6e863dc + 771f16e commit d03901b

File tree

11 files changed

+27
-4
lines changed

11 files changed

+27
-4
lines changed

qa/suites/rgw/sts/auth-order/.qa

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../.qa
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
overrides:
2+
ceph:
3+
conf:
4+
client:
5+
rgw s3 auth order: local, sts, external
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
overrides:
2+
ceph:
3+
conf:
4+
client:
5+
rgw s3 auth order: sts, local, external

qa/suites/rgw/tempest/tasks/s3/%

Whitespace-only changes.

qa/suites/rgw/tempest/tasks/s3/.qa

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../.qa
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../.qa
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
overrides:
2+
ceph:
3+
conf:
4+
client:
5+
rgw s3 auth order: sts, external, local
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
overrides:
2+
ceph:
3+
conf:
4+
client:
5+
rgw s3 auth order: sts, local, external
File renamed without changes.

src/rgw/rgw_auth.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ strategy_handle_rejected(rgw::auth::Engine::result_t&& engine_result,
377377

378378
case Control::FALLBACK:
379379
/* Don't try next. */
380-
return std::make_pair(false, std::move(engine_result));
380+
return std::make_pair(false, std::move(strategy_result));
381381

382382
default:
383383
/* Huh, memory corruption? */

0 commit comments

Comments
 (0)