Werk #14467: LDAP: Fix name conflict if new connector is used

Component User interface
Title LDAP: Fix name conflict if new connector is used
Date Aug 10, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p10 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p28 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Since werk #13501 the user connector is used to only contact connections, the user is configured for.

If a connection was deleted and a new one was used, the user still had the deleted connector in his profile, leading to messages like "SKIP SYNC "MY_USER" (name conflict with user from "MY_OLD_CONNECTION" connector)" in ~/var/log/web.log on LDAP logging set to debug.

We now make sure that the connection still exists.

To the list of all Werks