diff --git a/libfreerdp/core/errconnect.c b/libfreerdp/core/errconnect.c index ecbc68040..95ddad816 100644 --- a/libfreerdp/core/errconnect.c +++ b/libfreerdp/core/errconnect.c @@ -73,6 +73,12 @@ #define ERRCONNECT_CONNECT_TRANSPORT_FAILED_STRING \ "The connection transport layer failed." +#define ERRCONNECT_PASSWORD_EXPIRED_STRING \ + "The password has expired and must be changed." + +#define ERRCONNECT_PASSWORD_CERTAINLY_EXPIRED_STRING \ + "The password has certainly expired and must be changed." + /* Special codes */ #define ERRCONNECT_SUCCESS_STRING "Success." #define ERRCONNECT_NONE_STRING "" @@ -94,6 +100,8 @@ static const ERRINFO ERRCONNECT_CODES[] = ERRCONNECT_DEFINE(CONNECT_CANCELLED), ERRCONNECT_DEFINE(SECURITY_NEGO_CONNECT_FAILED), ERRCONNECT_DEFINE(CONNECT_TRANSPORT_FAILED), + ERRCONNECT_DEFINE(PASSWORD_EXPIRED), + ERRCONNECT_DEFINE(PASSWORD_CERTAINLY_EXPIRED), ERRCONNECT_DEFINE(NONE) };