Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 6d71822c82b22c0b9799c654d80bd45da1c6b528
https://github.com/Checkmk/checkmk/commit/6d71822c82b22c0b9799c654d80bd45da…
Author: Gav <gavin.mcguigan(a)checkmk.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
A .werks/16787.md
M cmk/gui/userdb/_check_credentials.py
M cmk/gui/userdb/ldap_connector.py
M tests/unit/cmk/gui/userdb/test_ldap_golden.py
Log Message:
-----------
16787 FIX ldap: users should be created without the suffix unless there are conflicts
Previously, if you had an ldap connection configured with both a "suffix"
and "create users only on login" enabled. The username used to login would
be used to create a user profile.
e.g.
* testuser1 -> created a userprofile called testuser1
* testuser1@suffix -> created a userprofile called testuser1@suffix
This was incorrect. The suffix should only be used when there are conflicts.
This werk addresses this issue by changing the behaviour to:
* Check if the user (without the suffix) already exists.
* If it's the same user, login with this user. No need to create a new user profile.
* If it's a different user, repeat the process using the username with the suffix.
SUP-18262
Change-Id: I1c1019ef18a34b3c05a46ee8d1cd260e68277098
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications