diff --git a/MicrosoftActiveDirectory/CHANGELOG.md b/MicrosoftActiveDirectory/CHANGELOG.md index 00a11a4cc..282accee9 100644 --- a/MicrosoftActiveDirectory/CHANGELOG.md +++ b/MicrosoftActiveDirectory/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Unreleased +## 2024-12-03 - 1.3.8 + +### Fixed + +- Convert ldap search attributes to dict + ## 2024-11-28 - 1.3.7 ### Fixed diff --git a/MicrosoftActiveDirectory/manifest.json b/MicrosoftActiveDirectory/manifest.json index 8a844174a..cfdf13483 100644 --- a/MicrosoftActiveDirectory/manifest.json +++ b/MicrosoftActiveDirectory/manifest.json @@ -32,7 +32,7 @@ "name": "Microsoft Active Directory", "uuid": "b2d96259-af89-4f7a-ae6e-a0af2d2400f3", "slug": "microsoft-ad", - "version": "1.3.7", + "version": "1.3.8", "categories": [ "IAM" ] diff --git a/MicrosoftActiveDirectory/microsoft_ad/search.py b/MicrosoftActiveDirectory/microsoft_ad/search.py index 8461e1a36..c85842ef3 100644 --- a/MicrosoftActiveDirectory/microsoft_ad/search.py +++ b/MicrosoftActiveDirectory/microsoft_ad/search.py @@ -37,7 +37,7 @@ def transform_ldap_results(self, entries): transformed = [] for entry in entries: if "attributes" in entry: - serialized_entry = self.make_serializable(entry["attributes"]) + serialized_entry = self.make_serializable(dict(entry["attributes"])) transformed.append(serialized_entry) return transformed