Skip to content

Commit

Permalink
Merge pull request #500 from MaxToffy/fix-daclread
Browse files Browse the repository at this point in the history
Fix TARGET_DN object query
  • Loading branch information
NeffIsBack authored Dec 11, 2024
2 parents 3a44643 + bd50a58 commit dcb3bbd
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 dcb3bbd

Please sign in to comment.