mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Added more criteria to LDAPHealthChecks
This commit is contained in:
@@ -19,6 +19,9 @@ public class DatabaseHealthCheck : IHealthCheck
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
await _ldapService.ListUsersAsync();
|
await _ldapService.ListUsersAsync();
|
||||||
|
await _ldapService.ListDeviceAsync();
|
||||||
|
await _ldapService.ListGroupsAsync(["cn", "description"]);
|
||||||
|
await _ldapService.ListLocationsAsync();
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user