From 55deb40268e74f78d185f528fcee693a7d53999e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Wed, 10 May 2023 19:53:01 +0200 Subject: [PATCH] decode securityIdentifier attribute as SID --- src/ldaptool/decode/_decoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ldaptool/decode/_decoder.py b/src/ldaptool/decode/_decoder.py index 28ef42c..793431a 100644 --- a/src/ldaptool/decode/_decoder.py +++ b/src/ldaptool/decode/_decoder.py @@ -101,7 +101,7 @@ class Attribute: return def _try_decode(self, args: Arguments) -> None: - if self.name in ("objectSid",): + if self.name in ("objectSid","securityIdentifier"): self._try_decode_sid() elif self.name in ("msExchMailboxGuid", "objectGUID"): self._try_decode_uuid()