From: Dominik Csapak Date: Fri, 13 Mar 2020 12:18:46 +0000 (+0100) Subject: Auth/AD: make PVE::Auth::AD a subclass of PVE::Auth::LDAP X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=e65b53c6a9039e6e1665903e2128d8ac25268e2a;hp=e65b53c6a9039e6e1665903e2128d8ac25268e2a;p=pve-access-control.git Auth/AD: make PVE::Auth::AD a subclass of PVE::Auth::LDAP 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 ---