Fix pass policy max password age #435
parent
b72678f896
commit
cc7573155f
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue