]> git.proxmox.com Git - pve-access-control.git/commit
api: domains: add user/group sync API enpoint
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 13 Mar 2020 12:18:47 +0000 (13:18 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 21 Mar 2020 15:05:15 +0000 (16:05 +0100)
commit673d2bf2674d77ca967e1583770cddfdf28d7abf
tree559d6fc1aa23f8a55729133f8e8d2d10e2140aea
parente65b53c6a9039e6e1665903e2128d8ac25268e2a
api: domains: add user/group sync API enpoint

this api call syncs the users and groups from LDAP/AD to the
user.cfg

it also implements a 'full' mode where we first delete all
users/groups from the config and sync them again

the parameter 'enable' controls if newly synced users are 'enabled'
(if no sync parameter handles that)
the parameter 'purge' controls if ACLs get removed for users/groups
that do not exists anymore after

also add this command to pveum

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Domains.pm
PVE/CLI/pveum.pm