Skip to content

Commit

Permalink
Merge pull request #9 from jmoosdijk/main
Browse files Browse the repository at this point in the history
adhere to casing of ldap attributes
  • Loading branch information
c3c committed Mar 24, 2022
2 parents d46d9b1 + d2ea79e commit 590b947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adexpsnapshot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ def processUsers(self, entry):
"name": resolved_entry['principal'],
"domain": domain.upper(),
"domainsid": self.domainsid,
"distinguishedName": distinguishedName,
"distinguishedname": distinguishedName,
"unconstraineddelegation": ADUtils.get_entry_property(entry, 'userAccountControl', default=0) & 0x00080000 == 0x00080000,
"trustedtoauth": ADUtils.get_entry_property(entry, 'userAccountControl', default=0) & 0x01000000 == 0x01000000,
"passwordnotreqd": ADUtils.get_entry_property(entry, 'userAccountControl', default=0) & 0x00000020 == 0x00000020
Expand Down

0 comments on commit 590b947

Please sign in to comment.