Werk #17421: LDAP: Catch incorrectly configured roles group dn in the schema

Component REST API
Title LDAP: Catch incorrectly configured roles group dn in the schema
Date Jan 14, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This change fixes two issues.

  1. The group_dn within sync_plugins -> groups_to_roles should endwith the configured group_dn, not be equal to it.
  2. We now catch this config error in the request schema instead of raising a ValueError and generating a crash report.

To the list of all Werks