{"action":"opened","issue":{"url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/3003","labels_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/3003/labels{/name}","comments_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/3003/comments","events_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/3003/events","html_url":"https://github.com/FreeRDP/FreeRDP/issues/3003","id":120806372,"number":3003,"title":"Error message for an expired password with NLA","user":{"login":"HenryJacques","id":11716929,"avatar_url":"https://avatars.githubusercontent.com/u/11716929?v=3","gravatar_id":"","url":"https://api.github.com/users/HenryJacques","html_url":"https://github.com/HenryJacques","followers_url":"https://api.github.com/users/HenryJacques/followers","following_url":"https://api.github.com/users/HenryJacques/following{/other_user}","gists_url":"https://api.github.com/users/HenryJacques/gists{/gist_id}","starred_url":"https://api.github.com/users/HenryJacques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HenryJacques/subscriptions","organizations_url":"https://api.github.com/users/HenryJacques/orgs","repos_url":"https://api.github.com/users/HenryJacques/repos","events_url":"https://api.github.com/users/HenryJacques/events{/privacy}","received_events_url":"https://api.github.com/users/HenryJacques/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-07T16:06:21Z","updated_at":"2015-12-07T16:06:21Z","closed_at":null,"body":"Hello,\r\n\r\nWhen connecting to a Windows host using NLA and if the password has expired, the error is the same as if the password was wrong.\r\nThat seems \"reasonable\" because the authentication happens at the network level even before the session starts.\r\n\r\nHowever, wouldn't it be possible to get a more specific message if the password has expired? Is the error code received from the Windows host at least different from the message if the password is wrong?\r\n\r\nThe ticket #1510 was quickly closed because the user switched back to RDP security but that's not possible on my Windows 2012-R2 RDS farm (and besides it doesn't solve the initial problem, which is to detect that the password is expired and not wrong)\r\n\r\nOn what I saw on internet about this subject, the conversation immediately goes to \"even on Windows 7 or 2008 you cannot change an expired password with NLA\" (https://support.microsoft.com/en-us/kb/2648397)\r\nYes right, I know you cannot change the password with NLA and that is not what I want to do. I only want FreeRDP to give to an consistent error message. Is this doable?\r\n\r\nThanks in advance :)\r\n"}}