From bbb93bc822e2889f2cbb8b35f5bddf44c00eedbc Mon Sep 17 00:00:00 2001 From: Geiseric <73939366+GeisericII@users.noreply.github.com> Date: Sat, 3 Aug 2024 19:22:28 +0200 Subject: [PATCH] Update findDelegation.py Update findDelegation to retrieve RBCD over DC (which isn't currently shown) --- examples/findDelegation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/findDelegation.py b/examples/findDelegation.py index 371e9cb31..4e064fe6e 100755 --- a/examples/findDelegation.py +++ b/examples/findDelegation.py @@ -172,7 +172,7 @@ def run(self): searchFilter = "(&(|(UserAccountControl:1.2.840.113556.1.4.803:=16777216)(UserAccountControl:1.2.840.113556.1.4.803:=" \ "524288)(msDS-AllowedToDelegateTo=*)(msDS-AllowedToActOnBehalfOfOtherIdentity=*))" \ - "(!(UserAccountControl:1.2.840.113556.1.4.803:=2))(!(UserAccountControl:1.2.840.113556.1.4.803:=8192)))" + "(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))" try: resp = ldapConnection.search(searchFilter=searchFilter,