Skip to content

Commit

Permalink
Update findDelegation.py
Browse files Browse the repository at this point in the history
Update findDelegation to retrieve RBCD over DC (which isn't currently shown)
  • Loading branch information
GeisericII authored Aug 3, 2024
1 parent f553b93 commit bbb93bc
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 bbb93bc

Please sign in to comment.