FreeRDP / FreeRDP-WebConnect

A gateway for seamless access to your RDP-Sessions in any HTML5-compliant browser
519 stars 1.62k forks source link

Remote console not working in AD environment #55

Closed umeshbhatt25 closed 10 years ago

umeshbhatt25 commented 10 years ago

Hi,

I am trying to use this in active directory environment and using to AD credentials like (domain\user_id) to remote login. But I am seeing an error "Count not connect to RDP backend."

If there any configuration required to make it work in domain?

Regards, Umesh

umeshbhatt25 commented 10 years ago

I tried with user name in both formats but none worked.

domain\user_name user_name@domain

Regards, Umesh

facinup commented 10 years ago

Hi, Umesh,

On what platform did you install FreeRDP-WebConnect? I had problem installing it on CentOS 6.5. It complained there is no "install" target in the Makefile when I ran "make install".

Thanks, Chris

alexpilotti commented 10 years ago

Stricly speaking, there's no need to install, you can just run it with ./wsgate

The install target will be added as well, consider the current status as a WiP

facinup commented 10 years ago

Thanks Alex!

Yes, I also tried running "wsgate -c wsgate.ini", but then I had this error in /var/log/message, when I tried to navigate to the instance's console page (from web browser).

To URI: /?token=96f79a57-016f-4891-961c-3647f5ddab81&title=x1(3dc2a92d-9897-48d3-a0b9-3d1a2d600339) => 403 Forbidden

When I opened "http://controller:8000", the log in /var/log/messages showed it was successful.

Update: I installed the MSI from cloudbase.it onto a Windows server. Now the instance's console page shows the login page (same as http://controller:8000). But then what? I thought it would be the GUI of the instance, just like vnc from kvm.

umeshbhatt25 commented 10 years ago

Hi,

I used Ubuntu 14 and found it working fine, except the domain credentials part.

Regards, Umesh

facinup commented 10 years ago

Finally I connected to my hyper-v vm/instance.

What I previously did wrong was, I didn't provide the PCB/vmID. To get vmID, I followed this post http://www.cloudbase.it/using-freerdp-to-connect-to-the-hyper-v-console/

However, can these be done automatically? The manual steps I am doing right now are, I need to find out on which hyper-v host that my vm is running, then find out that PCB/vmID, then enter those information, as well as Admin username and password, on the WebConnect web page. Can these be done automatically, just like vnc/kvm?

facinup commented 10 years ago

BTW, mine is also running on AD environment: 2 hyper-v hosts and both of them are domain controllers.

umeshbhatt25 commented 10 years ago

In RDP web connect page how are you giving domain credentials? I have tried giving AD credentials as following but it's not working.

domain\user_name user_name@domain

facinup commented 10 years ago

Sorry. I think I wasn't using domain user, but the local one. I just tried the domain\administrator, it failed to connect.

umeshbhatt25 commented 10 years ago

I shall appreciate any input on this.

--Umesh

alexpilotti commented 10 years ago

Hi @umeshbhatt25, I tried to reproduce this issue but without results, I'll try again and let you know ASAP.

alexpilotti commented 10 years ago

Fixed by: https://github.com/cloudbase/FreeRDP-WebConnect/commit/30fc28693a844ba7dedf876af60eddbd187b20d8

Please let me know if it works for you, thanks.

umeshbhatt25 commented 10 years ago

I tested with a system and found it working fine. I shall test with more machines and confirm if it is working fine.

--Umesh

alexpilotti commented 10 years ago

Closing this issue based on the feedback.