fix(ldap): off by one :)

main
Marshall Hallenbeck 2024-03-21 20:12:29 -04:00 committed by Marshall Hallenbeck
parent 49e909c50a
commit e5bba812e8
1 changed files with 1 additions and 1 deletions

View File

@ -764,7 +764,7 @@ class ldap(connection):
-------
None
"""
if len(self.args.users) > 1:
if len(self.args.users) > 0:
self.logger.display(f"Trying to dumping users: {', '.join(self.args.users)}")
search_filter = f"(|{''.join(f'(sAMAccountName={user})' for user in self.args.users)})"
else: