]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fail s3 POST auth if keystone not configured 3966/head
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 30 Jan 2015 15:03:30 +0000 (07:03 -0800)
committerAbhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Wed, 11 Mar 2015 17:51:47 +0000 (23:21 +0530)
commit8a25a51e42cdaed2c66dc25a6c6d0245441123a3
tree98c1f13f0711087e565bb879363b212d3bea0314
parentbaa74b88a4f4b6073b99b7a9774692b37405b59e
rgw: fail s3 POST auth if keystone not configured

Fixes: #10698
This fixes issue introduced in 8b3dfc9472022ea45ad24e02e0aa21dfdad798f8,
where if user does not exist, we try keystone authentication. However,
if keystone is not configured we justt fall through without failing.
This would have failed later on due to bucket permissions, unless bucket
had a public write permissions.

Backports: Firefly
Reported-by: Valery Tschopp <valery.tschopp@switch.ch>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Conflicts:
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_s3.cc