Thanks for your information. I have trying with your suggestion but it not
function, the connection continues with IP address. I have VCL 2.2.1

Any suggestion?

Dan



2012/9/5 Kelly Patrice Robinson <[email protected]>

>  Someone else may have a more elegant solution, but we tested this by
> editing the following lines the sendRDPfile() function in the utils.php
> file and registering our hostname in within dns.
>
>  function sendRDPfile() {
> …
> #see excerpt below
>         print "session bpp:i:$bpp\r\n";
>         print "winposstr:s:0,1,382,71,1182,671\r\n";
>          #print "full address:s:$ipaddress\r\n";
> #COMMENTED OUT THIS LINE
>          $vm_hostname = gethostbyaddr($ipaddress);   #ADDED THIS LINE
>         print "full address:s:$vm_hostname\r\n";           #ADDED THIS LINE
>  …
>
>  Kelly
>  From: "Casa 40 B. de A." <[email protected]>
> Reply-To: <[email protected]>
> Date: Wed, 5 Sep 2012 14:21:16 -0500
> To: <[email protected]>
> Subject: Change RDP file configuration from mangement node or web server
>
>  Hi everybody
>
>  When we make a reservation, RDP file is configured with IP address of
> the computer reserved.
>
>  We need RDP file is configured with the hostname of the computer and our
> domain name (hostname.my.domain.org) instead IP address. Is it possible
> to configure like this?
>
>  I'am newby in VCL
> Kind regards to all
>
>
>

Reply via email to