diff --git a/pyghmi/ipmi/oem/lenovo/nextscale.py b/pyghmi/ipmi/oem/lenovo/nextscale.py index 6c545ffc..9314d649 100644 --- a/pyghmi/ipmi/oem/lenovo/nextscale.py +++ b/pyghmi/ipmi/oem/lenovo/nextscale.py @@ -278,6 +278,10 @@ class SMMClient(object): for data in authdata.findall('authResult'): if int(data.text) != 0: raise Exception("Firmware update already in progress") + for data in authdata.findall('forwardUrl'): + if 'renew' in data.text: + raise Exception("Account password has expired on remote " + "device") self.st1 = None self.st2 = None for data in authdata.findall('st1'):