"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/mon/MonClient.cc" between
ceph-15.2.5.tar.gz and ceph-15.2.6.tar.gz

About: Ceph is a distributed object store and file system designed to provide excellent performance, reliability and scalability.

MonClient.cc  (ceph-15.2.5):MonClient.cc  (ceph-15.2.6)
skipping to change at line 1668 skipping to change at line 1668
} }
AuthAuthorizeHandler *ah = get_auth_authorize_handler(con->get_peer_type(), AuthAuthorizeHandler *ah = get_auth_authorize_handler(con->get_peer_type(),
auth_method); auth_method);
if (!ah) { if (!ah) {
lderr(cct) << __func__ << " no AuthAuthorizeHandler found for auth method " lderr(cct) << __func__ << " no AuthAuthorizeHandler found for auth method "
<< auth_method << dendl; << auth_method << dendl;
return -EOPNOTSUPP; return -EOPNOTSUPP;
} }
auto ac = &auth_meta->authorizer_challenge; auto ac = &auth_meta->authorizer_challenge;
if (!HAVE_FEATURE(con->get_features(), CEPHX_V2)) { if (auth_meta->skip_authorizer_challenge) {
if (cct->_conf->cephx_service_require_version >= 2) { ldout(cct, 10) << __func__ << " skipping challenge on " << con << dendl;
ldout(cct,10) << __func__ << " client missing CEPHX_V2 ("
<< "cephx_service_requre_version = "
<< cct->_conf->cephx_service_require_version << ")" << dendl;
return -EACCES;
}
ac = nullptr; ac = nullptr;
} }
bool was_challenge = (bool)auth_meta->authorizer_challenge; bool was_challenge = (bool)auth_meta->authorizer_challenge;
bool isvalid = ah->verify_authorizer( bool isvalid = ah->verify_authorizer(
cct, cct,
*rotating_secrets, *rotating_secrets,
payload, payload,
auth_meta->get_connection_secret_length(), auth_meta->get_connection_secret_length(),
reply, reply,
 End of changes. 1 change blocks. 
7 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)