{
CephXAuthorizeReply reply;
- if (decode_decrypt(reply, session_key, indata) < 0) {
- dout(0) << "verify_authorizer_reply coudln't decrypt with " << session_key << dendl;
+ try {
+ if (decode_decrypt(reply, session_key, indata) < 0) {
+ dout(0) << "verify_authorizer_reply coudln't decrypt with " << session_key << dendl;
+ return false;
+ }
+ } catch (buffer::error *e) {
+ dout(0) << "verify_authorizer_reply exception in decode_decrypt with " << session_key << dendl;
return false;
}
bool MDS::ms_get_authorizer(int dest_type, AuthAuthorizer **authorizer, bool force_new)
{
- dout(0) << "MDS::ms_get_authorizer type=" << dest_type << dendl;
+ dout(10) << "MDS::ms_get_authorizer type=" << ceph_entity_type_name(dest_type) << dendl;
/* monitor authorization is being handled on different layer */
if (dest_type == CEPH_ENTITY_TYPE_MON)
bool OSD::ms_get_authorizer(int dest_type, AuthAuthorizer **authorizer, bool force_new)
{
- dout(0) << "OSD::ms_get_authorizer type=" << dest_type << dendl;
+ dout(10) << "OSD::ms_get_authorizer type=" << ceph_entity_type_name(dest_type) << dendl;
if (dest_type == CEPH_ENTITY_TYPE_MON)
return true;