[pve-devel] applied: [PATCH access-control 2/4] api: realm sync: use auth-realm-sync as worker id

Thomas Lamprecht t.lamprecht at proxmox.com
Sat Mar 21 16:31:16 CET 2020


we may potentially also sync something else over this in the future,
for example PAM users from a specific group, so use a more general
	name.

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 PVE/API2/Domains.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Domains.pm b/PVE/API2/Domains.pm
index cdb2cf5..64d4c80 100644
--- a/PVE/API2/Domains.pm
+++ b/PVE/API2/Domains.pm
@@ -408,7 +408,7 @@ __PACKAGE__->register_method ({
 	    }, "syncing $whatstring failed");
 	};
 
-	return $rpcenv->fork_worker('ldapsync', $realm, $authuser, $worker);
+	return $rpcenv->fork_worker('auth-realm-sync', $realm, $authuser, $worker);
     }});
 
 1;
-- 
2.20.1





More information about the pve-devel mailing list