From 12160596e12e7922e41f916c7081572e22e83632 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 11 Feb 2010 09:25:15 -0800 Subject: [PATCH] cephx: nicer debug output in service handler --- src/auth/cephx/CephxServiceHandler.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/auth/cephx/CephxServiceHandler.cc b/src/auth/cephx/CephxServiceHandler.cc index cdd0a956d096a..c4fb7c56f7bda 100644 --- a/src/auth/cephx/CephxServiceHandler.cc +++ b/src/auth/cephx/CephxServiceHandler.cc @@ -51,14 +51,16 @@ int CephxServiceHandler::handle_request(bufferlist::iterator& indata, bufferlist struct CephXRequestHeader cephx_header; ::decode(cephx_header, indata); + switch (cephx_header.request_type) { case CEPHX_GET_AUTH_SESSION_KEY: { + dout(10) << "handle_request get_auth_session_key for " << entity_name << dendl; + CephXAuthenticate req; ::decode(req, indata); CryptoKey secret; - dout(10) << "handle_request get_auth_session_key for " << entity_name << dendl; if (!key_server->get_secret(entity_name, secret)) { dout(0) << "couldn't find entity name: " << entity_name << dendl; ret = -EPERM; -- 2.39.5