]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fail s3 POST auth if keystone not configured 3551/head
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 30 Jan 2015 15:03:30 +0000 (07:03 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 30 Jan 2015 15:39:24 +0000 (07:39 -0800)
commitcbf0691b4a57574d7e8d2cfc61a6b40af3a99e93
tree768fcc7ce37024084d295c196db9df171dc7c918
parent7e5e1ea1a51637de1c9a37039f21d88aee43ee83
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.

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