Skip to content

Commit

Permalink
Convert ldap search result to dict
Browse files Browse the repository at this point in the history
  • Loading branch information
penhouetp committed Dec 3, 2024
1 parent 2256d2b commit 057f3e7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions MicrosoftActiveDirectory/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion MicrosoftActiveDirectory/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
Expand Down
2 changes: 1 addition & 1 deletion MicrosoftActiveDirectory/microsoft_ad/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 057f3e7

Please sign in to comment.