Files
community.general/plugins/modules
Alexei Znamensky 645dd2d448 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

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

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

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 07:38:56 +12:00
..
2026-05-03 12:01:08 +02:00
2026-05-03 12:01:08 +02:00
2026-05-03 12:01:08 +02:00
2026-05-03 12:01:08 +02:00
2026-05-03 12:01:08 +02:00
2026-05-03 12:01:08 +02:00
2026-04-15 20:03:16 +02:00
2026-05-03 12:01:08 +02:00
2026-05-03 12:01:08 +02:00
2026-05-03 12:01:08 +02:00
2026-05-03 12:01:08 +02:00
2026-05-03 12:01:08 +02:00
2026-05-04 07:28:06 +12:00
2026-05-03 12:01:08 +02:00
2026-05-03 12:01:08 +02:00
2026-05-03 12:01:08 +02:00