goto reply;
}
- // If the server supports signing session messages, and it is configured to require the client
- // to sign, and the client can't sign, bail out. PLR
-
- if ((policy.features_supported & CEPH_FEATURE_MSG_AUTH) &&
- msgr->cct->_conf->cephx_require_signatures &&
- !(connect.features & CEPH_FEATURE_MSG_AUTH)) {
- ldout(msgr->cct,1) << "Client can't sign messages." << dendl;
- reply.tag = CEPH_MSGR_TAG_FEATURES;
- msgr->lock.Unlock();
- goto reply;
- }
-
msgr->lock.Unlock();
// Check the authorizer. If not good, bail out.
goto fail_locked;
}
- // If the client supports signing session messages, and it is configured to require the server
- // to sign, and the server can't sign, bail out. PLR
-
- if ((policy.features_supported & CEPH_FEATURE_MSG_AUTH) &&
- msgr->cct->_conf->cephx_require_signatures &&
- !(reply.features & CEPH_FEATURE_MSG_AUTH)) {
- ldout(msgr->cct,1) << "Server can't sign messages." << dendl;
- goto fail_locked;
- }
-
if (reply.tag == CEPH_MSGR_TAG_SEQ) {
ldout(msgr->cct,10) << "got CEPH_MSGR_TAG_SEQ, reading acked_seq and writing in_seq" << dendl;
uint64_t newly_acked_seq = 0;