Domain policy retrieval fails with stack trace
laxa opened this issue · 0 comments
laxa commented
In a context, the retrieval of the domain policy failed with the following stacktrace:
ldeep -u USER -d DOMAIN -p PASSWORD -s ldap://x.x.x.x:389 domain_policy
dc: DOMAIN
distinguishedName: DC=DOMAIN,DC=local
Traceback (most recent call last):
File "/home/user/.local/bin/ldeep", line 11, in <module>
load_entry_point('ldeep==1.0.7', 'console_scripts', 'ldeep')()
File "/home/user/.local/lib/python3.6/site-packages/ldeep-1.0.7-py3.6.egg/ldeep/__main__.py", line 572, in main
File "/home/user/.local/lib/python3.6/site-packages/commandparse-1.0.8-py3.6.egg/commandparse/__init__.py", line 250, in dispatch_command
File "/home/user/.local/lib/python3.6/site-packages/ldeep-1.0.7-py3.6.egg/ldeep/__main__.py", line 177, in list_domain_policy
TypeError: float() argument must be a string or a number, not 'datetime.timedelta'
The field
value was lockOutObservationWindow