1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-11 04:04:13 +00:00
community.general/changelogs
patchback[bot] 4df3fd064d
[PR #11990/645dd2d4 backport][stable-12] ldap_attrs: fix case-insensitive attribute lookup in state=exact (#12007)
ldap_attrs: fix case-insensitive attribute lookup in `state=exact` (#11990)

* fix(ldap_attrs): case-insensitive attribute lookup in _get_all_values_of

LDAP attribute names are case-insensitive (RFC 4512), but the previous
code used a case-sensitive dict lookup on the server's response. When
the server returns an attribute with different casing than requested,
the lookup returns [] causing state=exact to issue MOD_ADD instead of
MOD_REPLACE, which fails on single-valued attributes that already have
a value.

Fixes #1624



* feat(changelogs): add fragment for ldap_attrs fix #11990



---------


(cherry picked from commit 645dd2d448)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 07:21:31 +02:00
..
fragments [PR #11990/645dd2d4 backport][stable-12] ldap_attrs: fix case-insensitive attribute lookup in state=exact (#12007) 2026-05-07 07:21:31 +02:00
.gitignore
changelog.yaml Release 12.6.0. 2026-04-20 12:34:53 +02:00
changelog.yaml.license
config.yaml Normalize changelog configs. 2025-07-27 16:36:35 +02:00