]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw-admin: create subuser if needed when creating user
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 20 Nov 2014 18:36:05 +0000 (10:36 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 13 Jan 2015 01:09:59 +0000 (17:09 -0800)
commit7b89a827a063acf78a848a34c1c3298db213950f
treec8bd834214f849ab94acfc90753c4ea2f597d955
parent9ee29b5355e9ffeac76707e8d4070bfff5dc99d5
rgw-admin: create subuser if needed when creating user

Fixes: #10103
Backport: firefly, giant
This turned up after fixing #9973. Earlier we also didn't create the
subuser in this case, but we didn't really read the subuser info when it
was authenticating. Now we do that as required, so we end up failing the
authentication. This only applies to cases where a subuser was created
using 'user create', and not the 'subuser create' command.

Reviewed-by: Sage Weil <sage@redhat.com>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 9ba17a321db06d3d76c9295e411c76842194b25c)
src/rgw/rgw_admin.cc