Creating a trust relationship
This guide will explain how you can allow users from your Active Directory to access your virtual desktops.
This guide will explain how you can allow users from your Active Directory to access your virtual desktops.
Last updated 20th November 2017
It is sometimes useful for multiple users in your Active Directory to be able to access your virtual desktops on your Cloud Desktop Infrastructure solution. This guide will show you how to do this.
Below are the settings we will use in this guide. You will need to replace them with your own settings:
If you have not yet defined the network in which your Active Directory is located, you need to create it via the OVHcloud API.
To do this, go to the Customer Network
section to create the network:
Then press Execute
.
A task will be executed. You can then make sure you have created your private network by listing the existing ones. You will then have to proceed via the following API method:
The command returns a list of identifiers (ID). In order to see the information describing each private network, use the API call below:
In order for the authorisation to work, it is necessary to allow data flows to pass through the ports used by the Active Directory.
We will, therefore, authorise the following ports towards the Directory:
To see the IP of the Cloud Desktop Infrastructure Active Directory, issue the following call on the OVH API:
The IP address of the Cloud Desktop Infrastructure Active Directory looks like this: activeDirectoryIp : xxx.xxx.xxx.xxx.
We will configure the route that will allow us to direct the data flows towards the private administration network.
To see the private administration network, issue the following call on the OVH API:
The private network looks like this: adminPrivateNetwork: "xxx.xxx.xxx.xxx/xx". The next hop is also populated in this call: adminNetworkNextHop: "xxx.xxx.xxx.xxx".
If you need to create a route via NSX, you can do it this way:
In our case, the private administration network is as follows: 172.16.0.0/24 and the next hop is 192.168.169.1.
Once the flows are open, you will need to open them on the OVH side.
To do this, go to our API:
You will need the following information:
To carry out this step, you need to perform the following actions:
For this, you will need to know the IP and domain of the OVH Active Directory. Then make the following call to the OVH API:
The IP of the OVH Active Directory looks like this: activeDirectoryIp: "xxx.xxx.xxx.xxx". The domain name of the OVH Active Directory is: adminDomain: "viewxxxx.local".
Once the information is retrieved, you can create the Conditional Forwarder
.
add-DnsServerConditionalForwarderZone -name view1045.local -MasterServers 172.16.0.6
Or via the interface:
Open the DNS console:
Conditional Forwarder
;New Conditional Forwarder
;The Conditional Forwarder
is then created.
To carry out this step, you will need to generate a complex password, which you will enter when the Trust is created in the API. You will also need to name this user horizonUI.
To create a domain account, proceed as follows:
New-ADServiceAccount -Name horizonUI -AccountPassword (ConvertTo-SecureString - AsPlainText "p@ssw0rd" -Force) -Enabled $true -Path "CN=Managed Service Accounts,DC=CUSTOMER,DC=LOCAL" -RestrictToSingleComputer
Note that "DC" designates the domain of your Active Directory.
Once the call to the API is complete, a task will run on your Cloud Desktop Infrastructure. Once it has completed, you will receive an email confirming that the Trust is configured at OVH.
You will still have to follow the instructions in the email to finalise the authorisation, or follow the procedure below:
Active Directory Domains and Trusts
;Trust
tab;New Trust
;Forest Trust
.One-way: incoming
.This domain only
.The Trust is now created.
To create the Trust on the OVH Active Directory, you will need the following information:
Enter this information in the API:
A task will then execute, and you will receive an email once it has finished. The Active Directory trust is now created.
Chat with our user community on https://community.ovh.com/en/.
Please feel free to give any suggestions in order to improve this documentation.
Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.
Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.
Thank you. Your feedback has been received.
Access your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.
Discuss with the OVHcloud community