Project

General

Profile

Actions

Bug #38151

open

cephx: service ticket validity dobuled

Added by Sage Weil about 5 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

int KeyServer::_build_session_auth_info(uint32_t service_id,
                    const AuthTicket& parent_ticket,
                    CephXSessionAuthInfo& info)
{
  info.service_id = service_id;
  info.ticket = parent_ticket;
  info.ticket.init_timestamps(ceph_clock_now(),
                  cct->_conf->auth_service_ticket_ttl);

but the caller also does this
          key_server->build_session_auth_info(
        service_id,
        info.ticket,
        svc_info);
          svc_info.validity += cct->_conf->auth_service_ticket_ttl;

in CephxServiceHandler.cc
Actions #1

Updated by Greg Farnum over 4 years ago

  • Priority changed from High to Normal
Actions #2

Updated by Patrick Donnelly over 4 years ago

  • Status changed from 12 to New
Actions

Also available in: Atom PDF