Fix pass policy max password age #435

main
mpgn 2020-11-27 15:51:09 -05:00
parent b72678f896
commit cc7573155f
1 changed files with 3 additions and 2 deletions

View File

@ -37,8 +37,8 @@ def convert(low, high, lockout=False):
high = abs(high)
low = abs(low)
tmp = low + (high)*16**8 # convert to 64bit int
tmp *= (1e-7) # convert to seconds
tmp = low + (high)*16**8 # convert to 64bit int
tmp *= (1e-7) # convert to seconds
else:
tmp = abs(high) * (1e-7)
@ -63,6 +63,7 @@ def convert(low, high, lockout=False):
time += "{0} minute ".format(minutes)
return time
class PassPolDump:
KNOWN_PROTOCOLS = {