]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw_ldap: two bug fixes
authorMatt Benjamin <mbenjamin@redhat.com>
Mon, 21 Mar 2016 17:07:49 +0000 (13:07 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Mon, 21 Mar 2016 18:02:33 +0000 (14:02 -0400)
commit6ffa9c755954a82f9100ce0afff14ef89a35822c
treeeef1feaa9414f3c0c6264eb82eb7ea24bd583122
parent19aabf4a3047eb63c1646375357054ca12991a06
rgw_ldap:  two bug fixes

1. only attempt auth on tokens which pass valid() check
2. ignore false positive search result (and fix result in that case)

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_file.h
src/rgw/rgw_ldap.h
src/rgw/rgw_rest_s3.cc