Skip to content

Commit

Permalink
Merge pull request #26911 from linuxbox2/wip-ldap-f
Browse files Browse the repository at this point in the history
rgw: ldap: fix LDAPAuthEngine::init() when uri !empty()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
  • Loading branch information
cbodley committed Mar 14, 2019
2 parents 16560e0 + 6ef98c6 commit e895a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_rest_s3.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4299,7 +4299,7 @@ std::mutex rgw::auth::s3::LDAPEngine::mtx;
void rgw::auth::s3::LDAPEngine::init(CephContext* const cct)
{
if (! cct->_conf->rgw_s3_auth_use_ldap ||
! cct->_conf->rgw_ldap_uri.empty()) {
cct->_conf->rgw_ldap_uri.empty()) {
return;
}

Expand Down

0 comments on commit e895a51

Please sign in to comment.