public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup 1/2] api2/node/termproxy: fix user in worker task
@ 2020-07-27  6:54 Dominik Csapak
  2020-07-27  6:54 ` [pbs-devel] [PATCH proxmox-backup 2/2] api2/node/termproxy: fix zombies on worker abort Dominik Csapak
  2020-07-30  9:58 ` [pbs-devel] applied: [PATCH proxmox-backup 1/2] api2/node/termproxy: fix user in worker task Wolfgang Bumiller
  0 siblings, 2 replies; 5+ messages in thread
From: Dominik Csapak @ 2020-07-27  6:54 UTC (permalink / raw)
  To: pbs-devel

'username' here is without realm, but we really want to use user@realm

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
 src/api2/node.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api2/node.rs b/src/api2/node.rs
index b80a661..e6ecc85 100644
--- a/src/api2/node.rs
+++ b/src/api2/node.rs
@@ -137,7 +137,7 @@ async fn termproxy(
     let upid = WorkerTask::spawn(
         "termproxy",
         None,
-        &username,
+        &userid,
         false,
         move |worker| async move {
             // move inside the worker so that it survives and does not close the port
-- 
2.20.1





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-07-30  9:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-27  6:54 [pbs-devel] [PATCH proxmox-backup 1/2] api2/node/termproxy: fix user in worker task Dominik Csapak
2020-07-27  6:54 ` [pbs-devel] [PATCH proxmox-backup 2/2] api2/node/termproxy: fix zombies on worker abort Dominik Csapak
2020-07-28 12:16   ` Wolfgang Bumiller
2020-07-28 13:08     ` Dominik Csapak
2020-07-30  9:58 ` [pbs-devel] applied: [PATCH proxmox-backup 1/2] api2/node/termproxy: fix user in worker task Wolfgang Bumiller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal