cedrozor / myrtille

A native HTML4 / HTML5 Remote Desktop Protocol and SSH client
https://www.myrtille.io
Apache License 2.0
1.78k stars 372 forks source link

Auto-Connect URL #387

Open ASoungie opened 5 months ago

ASoungie commented 5 months ago

I'm having trouble auto-starting an RDP using the auto-connect URL (https://myserver/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=server&domain=domain%5Boptional%5D&user=user&passwordHash=passwordHash&program=program%5Boptional%5D&width=width(px)%5Boptional%5D&height=height(px)%5Boptional%5D&connect=Connect%21)

I currently get "Invalid credentials" when I try this method.

I'm running Myrtille in enterprise mode and I have 2 RDP hosts set up with a specific domain group for both. I'm debugging it in Visual Studio 2022 and the code never reaches line 460 and on-wards in Default.aspx under Myrtille.Web. I'm also generating the hashed password from the /GetHash.aspx page.

I'm assuming it's because the enterprise session is still null.

I'm using version 2.9.2