proxmox/proxmox-ldap/src
Stefan Sterz 7f135263a9 ldap: add check_connection function
this function checks if a given connection could work. it uses the
current config to connect to an ldap directory and perform a search
with the provided base_dn. this enables us to verify a connection
before storing it in a more meaningful way than with a regex.

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
2023-06-26 14:15:35 +02:00
..
lib.rs ldap: add check_connection function 2023-06-26 14:15:35 +02:00