Skip to content

Commit

Permalink
Fix TARGET_DN object query
Browse files Browse the repository at this point in the history
Signed-off-by: MaxToffy <[email protected]>
  • Loading branch information
MaxToffy authored Dec 4, 2024
1 parent 2413548 commit bd50a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nxc/modules/daclread.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def search_target_principal_security_descriptor(self, context, connection):
if self.target_DN is not None:
_lookedup_principal = self.target_DN
target = self.ldap_session.search(
searchBase=self.baseDN,
searchBase=_lookedup_principal,
searchFilter=f"(distinguishedName={_lookedup_principal})",
attributes=["nTSecurityDescriptor"],
searchControls=controls,
Expand Down

0 comments on commit bd50a58

Please sign in to comment.