citronneur / node-rdpjs

Remote Desktop Protocol for Node.js
GNU General Public License v3.0
887 stars 154 forks source link

Windows 8.1 default security mode not currently supported? #7

Open untoldone opened 8 years ago

untoldone commented 8 years ago

I'm currently getting a 'NODE_RDP_PROTOCOL_X224_NEG_FAILURE' trying to connect to my RDP server. This happens when trying to connect to (what I believe to be) a default setup Windows 8.1 Pro RDP server.

When looking at the result of the message with the error -- I see, based on https://msdn.microsoft.com/en-us/library/cc240507.aspx, that I have the following error

code 5 or: "The server requires that the client support Enhanced RDP Security (section 5.4) with CredSSP (section 5.4.5.2)."

Is this a known issue or just not supported yet? If this isn't supported yet, should a more detailed unsupported error be shown by the node-rdpjs?

untoldone commented 8 years ago

Just to clarify, this error specifically happens when Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended) is selected in Windows 8.1's Remote table in System Properties.

If this is unselected, the error is not present.

citronneur commented 8 years ago

New security level is planned for next release (need ntlm). I keep this bug open until this release.

jacob019 commented 8 years ago

Will the next release support XP also?

citronneur commented 7 years ago

Not at all sorry. Maybe in a next next release...

ngurusam commented 7 years ago

Hi,

Is it still active to consider for next release?

citronneur commented 7 years ago

yes

EddieCanales commented 7 years ago

Do you have an estimate for when this might be done?

jdelrue commented 6 years ago

Planned since '15. Any ETA?

untoldone commented 6 years ago

@jdelrue I ended up writing a node wrapper around freerdp to get this functionality myself: https://github.com/bloomapi/node-freerdp ... a different direction that works in node today. That said, it may not be as used and tested as this is and is a little more complicated as you need a specific version of freerdp as a dependency, but thought I'd mention as an alternative given the timeframe this has been open for.

@citronneur don't mean to step on your toes here and promote another project -- just thought I'd mention it as an alternative in the interim/ feel free to delete my mention if you feel this is inappropriate.