]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: ldap auth: S3 auth failure should return InvalidAccessKeyId 30651/head
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 11 Sep 2019 17:22:26 +0000 (13:22 -0400)
committerPrashant D <pdhange@redhat.com>
Tue, 1 Oct 2019 00:21:40 +0000 (20:21 -0400)
commit8ece29c759392c6fa8e8cc7b06ad383bde20900f
treeaa864c02c88bfd679540f99704680572217c7d22
parent95c11e674312ad30042d7d664c30d6c37c973198
rgw: ldap auth: S3 auth failure should return InvalidAccessKeyId

LDAP was out of sync with the other auth modules, and the default
error code is not correct for S3.

Fixes: https://tracker.ceph.com/issues/41760
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 226227cf2d825b3414b7522a9f738180142f3956)
src/rgw/rgw_rest_s3.cc