2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-21 17:11:58 +00:00

Update smm rules to relax

This commit is contained in:
Jarrod Johnson 2021-11-09 15:58:17 -05:00
parent 94761ba7c6
commit ef10237cfe

View File

@ -44,7 +44,7 @@ if 'authResult>0' in rspdata:
tokens = fromstring(rspdata)
st2 = tokens.findall('st2')[0].text
w.set_header('ST2', st2)
rules = 'set=passwordDurationDays:0,passwordExpireWarningDays:0,passwordChangeInterval:0,passwordChangeInterval:0'
rules = 'set=passwordDurationDays:0,passwordExpireWarningDays:0,passwordChangeInterval:0,passwordReuseCheckNum:0,passwordFailAllowdNum:0,passwordLockoutTimePeriod:0'
w.request('POST', '/data', rules)
rsp = w.getresponse()
print(repr(rsp.read()))