]> git.proxmox.com Git - pve-access-control.git/commitdiff
Auth/AD: make PVE::Auth::AD a subclass of PVE::Auth::LDAP
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 13 Mar 2020 12:18:46 +0000 (13:18 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 21 Mar 2020 14:44:46 +0000 (15:44 +0100)
this makes it much easier to reuse the sync code from LDAP in AD.
The 'authenticate_user' sub is still the same, but we now
can still use the get_users and get_groups functionality of LDAP

in the case of AD, the user_attr is optional in the config
(would have been a breaking change) but we set it
to default to 'sAMAccountName'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>

No differences found