mirror of
https://github.com/ceph/ceph
synced 2025-01-02 00:52:22 +00:00
auth/cephx: print challenges in hex
this matches the CephxServiceHandler::handle_request(), hence would be easier for debugging. Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
c0f1600666
commit
87e0759bf2
@ -70,7 +70,8 @@ int CephxClientHandler::build_request(bufferlist& bl) const
|
||||
|
||||
::encode(req, bl);
|
||||
|
||||
ldout(cct, 10) << "get auth session key: client_challenge " << req.client_challenge << dendl;
|
||||
ldout(cct, 10) << "get auth session key: client_challenge "
|
||||
<< hex << req.client_challenge << dendl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -117,7 +118,8 @@ int CephxClientHandler::handle_response(int ret, bufferlist::iterator& indata)
|
||||
CephXServerChallenge ch;
|
||||
::decode(ch, indata);
|
||||
server_challenge = ch.server_challenge;
|
||||
ldout(cct, 10) << " got initial server challenge " << server_challenge << dendl;
|
||||
ldout(cct, 10) << " got initial server challenge "
|
||||
<< hex << server_challenge << dendl;
|
||||
starting = false;
|
||||
|
||||
tickets.invalidate_ticket(CEPH_ENTITY_TYPE_AUTH);
|
||||
|
Loading…
Reference in New Issue
Block a user