Error when trying to unlock a user
Closed this issue · 0 comments
us3r777 commented
When trying to unlock a user I got the following error:
$ ldeep ldap -d DOMAIN -u USER -p PASSWORD -s ldaps://X.X.X.X unlock 'USER2'
Traceback (most recent call last):
File "/usr/bin/ldeep", line 6, in <module>
main()
File "/usr/share/ldeep/ldeep/__main__.py", line 661, in main
ldeep.dispatch_command(args)
File "/usr/share/ldeep/commandparse/__init__.py", line 289, in dispatch_command
return getattr(self, self.COMMANDS[idx][cmd])(vars(args))
File "/usr/share/ldeep/ldeep/__main__.py", line 553, in action_unlock
if self.engine.unlock(user):
File "/usr/share/ldeep/ldeep/views/ldap_activedirectory.py", line 351, in unlock
results = self.query(USER_DN_FILTER.format(username=username))
NameError: name 'USER_DN_FILTER' is not defined