]> git.proxmox.com Git - pve-access-control.git/commitdiff
api: realm sync: use auth-realm-sync as worker id
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 21 Mar 2020 15:07:49 +0000 (16:07 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 21 Mar 2020 15:11:48 +0000 (16:11 +0100)
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@proxmox.com>
PVE/API2/Domains.pm

index cdb2cf50f4d80b31bb9bbd7a9f39d26ab8c5d385..64d4c806ef49f196d6f4fac690de6c8c6359cd02 100644 (file)
@@ -408,7 +408,7 @@ __PACKAGE__->register_method ({
            }, "syncing $whatstring failed");
        };
 
            }, "syncing $whatstring failed");
        };
 
-       return $rpcenv->fork_worker('ldapsync', $realm, $authuser, $worker);
+       return $rpcenv->fork_worker('auth-realm-sync', $realm, $authuser, $worker);
     }});
 
 1;
     }});
 
 1;