Skip to content

Commit

Permalink
Merge pull request #70 from ThePorgs/GeisericII-findDelegation
Browse files Browse the repository at this point in the history
fortra#1184 Update findDelegation.py
  • Loading branch information
GeisericII authored Aug 8, 2024
2 parents 0a8a3fb + bbb93bc commit 154de8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/findDelegation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 154de8a

Please sign in to comment.