Skip to content

Commit

Permalink
Merge pull request #553 from termanix/ruff-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NeffIsBack authored Feb 2, 2025
2 parents c904f3a + 643519d commit 6a6fa94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nxc/protocols/ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ def check_if_admin(self):
if str(attribute["type"]) == "distinguishedName":
answers.append(str("(memberOf:1.2.840.113556.1.4.1941:=" + attribute["vals"][0] + ")"))
if len(answers) == 0:
self.logger.debug(f"No groups with default privileged RID were found. Assuming user is not a Domain Administrator.")
self.logger.debug("No groups with default privileged RID were found. Assuming user is not a Domain Administrator.")
return

# 3. get member of these groups
Expand Down

0 comments on commit 6a6fa94

Please sign in to comment.