proxmox-backup/src
Dylan Whyte afef7f3bba fix #3038: check user before renewing ticket
Fixes a bug in which the userid of the ticket cache is updated,
when a user connects, but the ticket itself is not.
This means a newly connected user has a previously connected
user's ticket and thus, cannot do anything, as the client will
attempt to use the invalid ticket.

e.g. if john@pbs connected to the server first, followed by
mike@pbs, the following would be stored in the ticket cache.

{
  "localhost": {
    "mike@pbs": {
      "ticket": "PBS:john@pbs:AAAA",
      "timestamp": 1601039326,
      "token": "BBBB"
    }
  }
}

Signed-off-by: Dylan Whyte <d.whyte@proxmox.com>
2020-10-21 08:34:30 +02:00
..
api2 backup: avoid Transport endpoint is not connected error 2020-10-20 14:20:04 +02:00
backup fix #2988: allow verification after finishing a snapshot 2020-10-20 10:51:13 +02:00
bin paperkey: use svg as image format to provide better scalability 2020-10-20 12:04:51 +02:00
client fix #3038: check user before renewing ticket 2020-10-21 08:34:30 +02:00
config fix #2988: allow verification after finishing a snapshot 2020-10-20 10:51:13 +02:00
pxar pxar: anchor pxarexcludes starting with a slash 2020-10-15 12:28:31 +02:00
rrd clippy fixups 2020-10-14 11:20:07 +02:00
server log rotate: move basic rotation logic into module for reuse 2020-10-20 11:09:17 +02:00
tools proxmox-backup-client: use HumanByte to render snapshot size 2020-10-20 11:43:48 +02:00
api2.rs move subscription API path to /nodes 2020-07-21 19:33:52 +02:00
auth_helpers.rs avoid chrono dependency, depend on proxmox 0.3.8 2020-09-15 07:12:57 +02:00
auth.rs clippy fixups 2020-10-14 11:20:07 +02:00
backup.rs rustdoc: overhaul backup rustdoc and add locking table 2020-10-16 09:38:01 +02:00
buildcfg.rs server/rest: implement request access log 2020-10-16 11:23:49 +02:00
client.rs switch to external pxar and fuse crates 2020-06-08 13:56:58 +02:00
config.rs config: add JobState helper 2020-08-13 11:36:10 +02:00
lib.rs rustdoc: add crate level doc 2020-10-16 09:37:50 +02:00
server.rs move src/api_schema/config.rs -> src/server/config.rs 2019-11-22 09:23:03 +01:00
task.rs introduce TaskState trait 2020-10-12 14:11:57 +02:00
tools.rs set reasonable TCP keepalive timeout 2020-10-19 14:01:17 +02:00